Operation to call the record store's functionality. Backup is also triggered by this operation if a record is removed.
134135136137138139140141142143144
return new CacheRemoveOperation(); } }; constructors[GET_AND_REMOVE] = new ConstructorFunction<Integer, IdentifiedDataSerializable>() { public IdentifiedDataSerializable createNew(Integer arg) { return new CacheGetAndRemoveOperation(); } }; constructors[REPLACE] = new ConstructorFunction<Integer, IdentifiedDataSerializable>() { public IdentifiedDataSerializable createNew(Integer arg) { return new CacheReplaceOperation();
60616263646566
return new CacheRemoveOperation(nameWithPrefix, key, oldValue, completionId); } @Override public Operation createGetAndRemoveOperation(Data key, int completionId) { return new CacheGetAndRemoveOperation(nameWithPrefix, key, completionId); }