hazelcast grails plugin
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
grails-app
src/main/groovy/hazelgrails
.classpath
.gitignore
.project
LICENSE
README.md
build.gradle
gradlew
gradlew.bat

README.md

Hazelcast plugin for grails

Update (4/2016): Hazelcast version is upgraded to 3.6.2.

How to Install Plugin

Just add the following dependency under the dependencies block in your project's build.gradle:

compile "org.grails.plugins:hazelgrails:1.0.2"

Configuration

You can configure hazelcast in details:

For available options have a look at: http://docs.hazelcast.org/docs/3.6/manual/html-single/index.html#hazelcast-configuration

To use Hazelcast as Hibernate 2nd Level Cache, add the following line to application.groovy:

cache.region.factory_class = 'com.hazelcast.hibernate.HazelcastCacheRegionFactory'

For more documentation:

See: http://blog.hazelcast.com/distribute-grails-with-hazelcast/

For Grails3 Test application:

See: [https://github.com/rohitbishnoi/hazelcast-test] (https://github.com/rohitbishnoi/hazelcast-test)