@Override
 protected Object call() throws Exception {
   ReplicatedMapService replicatedMapService = getService(ReplicatedMapService.SERVICE_NAME);
   ReplicatedRecordStore recordStore =
       replicatedMapService.getReplicatedRecordStore(parameters.name, true);
   return recordStore.removeEntryListenerInternal(parameters.registrationId);
 }
Пример #2
0
 @Override
 public void run() throws Exception {
   if (getNodeEngine().getConfig().isLiteMember()) {
     return;
   }
   ReplicatedMapService service = getService();
   ReplicatedRecordStore store =
       service.getReplicatedRecordStore(mapName, false, getPartitionId());
   if (store == null) {
     return;
   }
   response = store.size();
   store.clear();
   if (replicateClear) {
     replicateClearOperation();
   }
 }
 @Override
 public Object call() throws Exception {
   ReplicatedRecordStore recordStore = getReplicatedRecordStore();
   return recordStore.remove(key);
 }