@Override
 public List<Address> getOwners(Collection<Object> affectedKeys) {
   if (affectedKeys.isEmpty()) {
     return InfinispanCollections.emptyList();
   }
   return Immutables.immutableListConvert(dm.locateAll(affectedKeys));
 }
Exemple #2
0
 @Override
 public Map readObject(ObjectInput input) throws IOException, ClassNotFoundException {
   return Immutables.immutableMapWrap(MarshallUtil.unmarshallMap(input, HashMap::new));
 }
 @Override
 public List<Address> getOwners(Object key) {
   return Immutables.immutableListConvert(dm.locate(key));
 }