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?
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 110000EJCN4983 Posts
Re: Getting list of object cache instances2012-12-31T13:57:40ZThis is the accepted answer. This is the accepted answer.Hi,
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 Posts
Re: Getting list of object cache instances2013-01-03T22:14:55ZThis is the accepted answer. This is the accepted answer.
- bpaskin 110000EJCN
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?