202203204205206207208209
@Override public InternalCompletableFuture<Long> asyncGetAndAlter(IFunction<Long, Long> function) { isNotNull(function, "function"); Operation operation = new GetAndAlterOperation(name, function); return asyncInvoke(operation); }
29303132333435
super(name, function); } @Override protected Operation prepareOperation() { return new GetAndAlterOperation(name, getFunction()); }
7879808182838485868788
case GET: return new GetOperation(); case GET_AND_SET: return new GetAndSetOperation(); case GET_AND_ALTER: return new GetAndAlterOperation(); case GET_AND_ADD: return new GetAndAddOperation(); case SET_OPERATION: return new SetOperation(); case SET_BACKUP: