Posted: Tue Jun 27, 2017 8:22 pm Post subject: Global Map size in global cache .
Novice
Joined: 29 Oct 2014 Posts: 17
Hi All ,
I am having a requirement that i have to log all the cache entry with no of records cached . I am having following challenges on implementing this .
1)As i have to print no of records cached , but MbGlobalMap is not having size method which can return the size of the map .
2)I have to write MessageFlowLevel which puts/gets the record from cache , but unable to find any java method which can return current message flow level which is interacting with global cache . Though it is possible in ESQL , but how to do in java code .
You'd probably have to have a property value pair in the cache that you'd increment and decrement as the cache grows / shrinks. However that would still not cover elements inserted into the cache with a TTL.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum