-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Working example for Hazelcast with JCache
- Loading branch information
1 parent
de32a0b
commit d26188a
Showing
3 changed files
with
12 additions
and
31 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
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
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 |
---|---|---|
@@ -1,17 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<hazelcast xmlns="http://www.hazelcast.com/schema/config" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.hazelcast.com/schema/config | ||
http://www.hazelcast.com/schema/config/hazelcast-config-4.1.xsd"> | ||
|
||
<map name="buckets"> | ||
<time-to-live-seconds>120</time-to-live-seconds> | ||
<in-memory-format>BINARY</in-memory-format> | ||
<metadata-policy>CREATE_ON_UPDATE</metadata-policy> | ||
<statistics-enabled>true</statistics-enabled> | ||
</map> | ||
|
||
<cache name="buckets"> | ||
</cache> | ||
|
||
<hazelcast | ||
xsi:schemaLocation="https://www.hazelcast.com/schema/config hazelcast-config-5.1.xsd" | ||
xmlns="http://www.hazelcast.com/schema/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<cache name="buckets"> | ||
<management-enabled>true</management-enabled> | ||
</cache> | ||
</hazelcast> |