Operation to call the cache record store method.
144145146147148149150151152153154
return new CacheReplaceOperation(); } }; constructors[GET_AND_REPLACE] = new ConstructorFunction<Integer, IdentifiedDataSerializable>() { public IdentifiedDataSerializable createNew(Integer arg) { return new CacheGetAndReplaceOperation(); } }; constructors[PUT_BACKUP] = new ConstructorFunction<Integer, IdentifiedDataSerializable>() { public IdentifiedDataSerializable createNew(Integer arg) { return new CachePutBackupOperation();
70717273747576
return new CacheReplaceOperation(nameWithPrefix, key, oldValue, newValue, policy, completionId); } @Override public Operation createGetAndReplaceOperation(Data key, Data value, ExpiryPolicy policy, int completionId) { return new CacheGetAndReplaceOperation(nameWithPrefix, key, value, policy, completionId); }