This repository has been archived by the owner on Jul 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switched to lookup tag and using the gemfire template
- Loading branch information
Showing
3 changed files
with
33 additions
and
24 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE cache PUBLIC | ||
"-//GemStone Systems, Inc.//GemFire Declarative Caching 6.5//EN" | ||
"http://www.gemstone.com/dtd/cache6_5.dtd"> | ||
|
||
<!-- | ||
| DataEviction.xml | ||
| | ||
| Configures a region to destroy entries when the region reaches | ||
| a certain capacity. Includes a listener to report on the activity. | ||
--> | ||
<cache> | ||
<region name="exampleRegion"> | ||
<region-attributes> | ||
<cache-listener> | ||
<class-name>quickstart.SimpleCacheListener</class-name> | ||
</cache-listener> | ||
<eviction-attributes> | ||
<lru-entry-count maximum="10" /> | ||
<!-- entry destruction is the default eviction action --> | ||
</eviction-attributes> | ||
</region-attributes> | ||
</region> | ||
</cache> |