Skip to content
Hazelcast plugin for grails
Groovy
Find file
Latest commit 56d5519 Apr 12, 2016 @enesakar hz version update

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

Something went wrong with that request. Please try again.