-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Hazelcast plugin for grails | ||
|
||
### How to Install Plugin | ||
|
||
Run the command: | ||
|
||
> install-plugin https://s3.amazonaws.com/hazelenes/hazelgrails-0.1.zip | ||
Yes, you are right, I will try to migrate the plugin to Grails Central so anyone can find it on Grails Plugins page. | ||
|
||
|
||
### Configuration | ||
You will see hazelcast.xml in conf directory under plugins directory. | ||
|
||
You can configure hazelcast in details. | ||
|
||
For available options have a look at: | ||
[http://www.hazelcast.com/docs/2.0/manual/single_html/#Config](http://www.hazelcast.com/docs/2.0/manual/single_html/#Config) | ||
|
||
To see hazelcast logs add following to Config.groovy: | ||
> info 'com.hazelcast' | ||
Use Hazelcast as Hibernate 2nd Level Cache | ||
In DataSource.groovy replace the following line in hibernate configuration block. | ||
|
||
cache.region.factory_class = 'com.hazelcast.hibernate.HazelcastCacheRegionFactory' | ||
|
||
### For more documentation: | ||
See: |