|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SingleOperation<K,V>
Method Summary | |
---|---|
BatchOperation<K,V> |
createBatchOperation(java.util.List<SingleOperation<K,V>> operations)
Creates a batch operation that corresponds to the operation type of this single operation. |
SingleOperationType |
getType()
Returns a stable identifier for the type this operation can be classified in. |
void |
performSingleOperation(CacheLoaderWriter<K,V> cacheLoaderWriter)
Perform this operation as a single execution with the provided cache writer |
Methods inherited from interface org.ehcache.loaderwriter.writebehind.operations.KeyBasedOperation |
---|
getCreationTime, getKey |
Method Detail |
---|
void performSingleOperation(CacheLoaderWriter<K,V> cacheLoaderWriter) throws java.lang.Exception
java.lang.Exception
BatchOperation<K,V> createBatchOperation(java.util.List<SingleOperation<K,V>> operations)
CacheWriter
that will be used to execute the batch operation.
SingleOperationType getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |