-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.5.0
-
Component/s: client queues, docs
-
Labels:
The registerInterest API works for single key registration but is broken for all other types of registration if the Region is declared with type parameters:
Single key (works):
Region<Integer, ValueClass> region = clientRegionFactory.create(regionName); region.registerInterest(1);
ALL_KEYS token is broken (fails to compile):
Region<Integer, ValueClass> region = clientRegionFactory.create(regionName); region.registerInterest("ALL_KEYS");
List of keys is broken (fails to compile):
Region<Integer, ValueClass> region = clientRegionFactory.create(regionName); List<Integer> listOfKeys = new ArrayList<>(); listOfKeys.add(1); listOfKeys.add(2); region.registerInterest(listOfKeys);
When this ticket is fixed and the API is updated, we should consider adding support for var args:
Region<Integer, ValueClass> region = clientRegionFactory.create(regionName); region.registerInterest(1, 2, 3);
- Blocked
-
GEODE-4831 documentation for registerInterest API changes
-
- Closed
-
- links to