0

I'm using JCS cache. I want to retrieve all the keys and value from the specific region.

JCS jcsInstance=JCS.getInstance("regionName");

How can I achieve it?

Vishvesh Phadnis
  • 2,448
  • 5
  • 19
  • 35

1 Answers1

1

In Group Cache access class there is a method available called getGroupKeys(String groupName).You can pass in the Group name and get all the keys in that group and iterate over it.

See the documentation for more info.

Srini
  • 420
  • 1
  • 5
  • 17
Madusudanan
  • 1,017
  • 1
  • 15
  • 36