I am trying to use java API to get list of object cache instances.
If I use DynaCache MBean I do get a list of caches but those don't include object caches.
Any idea how to get list of object cache instances?
This topic has been locked.
2 replies Latest Post - 2013-01-03T22:14:55Z by SystemAdmin
Pinned topic Getting list of object cache instances
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-01-03T22:14:55Z at 2013-01-03T22:14:55Z by SystemAdmin
bpaskin 110000EJCN3765 PostsACCEPTED ANSWER
Re: Getting list of object cache instances2012-12-31T13:57:40Z in response to SystemAdminHi,
There is a difference between the DynaCache and Object Cache. You can use the DistributedObjectCache to access the cache itself and then get the keys in a Set and then get the values for each key.
SystemAdmin 110000D4XK37422 PostsACCEPTED ANSWER
Re: Getting list of object cache instances2013-01-03T22:14:55Z in response to bpaskinThanks for the response Brian. Funny that all the time I have been referring to it as a type of Dyna Cache.
I am able to use the object cache to add and retrieve objects without any issue.
However, I want to be able to get a list of object cache instances (not the individual objects within a specific cache instance) that are configured on the WAS. Is there any API call to get that?