예제 #1
0
 @Override
 protected OperationFactory createOperationFactory() {
   CacheOperationProvider operationProvider = getOperationProvider(parameters.name);
   CacheService service = getService(getServiceName());
   ExpiryPolicy expiryPolicy = (ExpiryPolicy) service.toObject(parameters.expiryPolicy);
   return operationProvider.createGetAllOperationFactory(
       (Set<Data>) parameters.keys, expiryPolicy);
 }
 @Override
 protected OperationFactory createOperationFactory() {
   CacheOperationProvider operationProvider = getOperationProvider(parameters.name);
   return operationProvider.createRemoveAllOperationFactory(null, parameters.completionId);
 }
 @Override
 protected Operation prepareOperation() {
   CacheOperationProvider operationProvider = getOperationProvider(parameters.name);
   return operationProvider.createEntryIteratorOperation(parameters.tableIndex, parameters.batch);
 }