Products | Versions |
---|---|
TIBCO API Exchange | - |
Not Applicable | - |
Resolution:
The number 5 comes from the value set in the underlying project (asg_core.projlib).
The following are the steps needed to make this change in projlib and change the value of the maxCount:
- Edit asg_core.projlib --> CacheCleanup --> Rules --> SendCacheDeleteEvent.rule
- Locate this line and change 5 to x
Old Value:
long maxCount = System.getGlobalVariableAsInt("CacheCleanup/MaxCount/Default" , 5);
New Value:
long maxCount = System.getGlobalVariableAsInt("CacheCleanup/MaxCount/Default" , x);
- Save
- Add Project dependency from studio and re-Build EAR
Verify in the log if the entries are evicted after total # x are in Cache.