Skip to content
Hazelcast plugin for grails
Groovy
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
grails-app
src/main/groovy/hazelgrails
.classpath
.gitignore
.project
README.md
build.gradle
gradlew
gradlew.bat

README.md

Hazelcast plugin for grails

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-SNAPSHOT"

Configuration

You can configure hazelcast in details.

For available options have a look at: http://www.hazelcast.com/docs/2.0/manual/single_html/#Config

Use Hazelcast as Hibernate 2nd Level Cache In application.groovy add the following line.

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.