|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.terracotta.modules.ehcache.writebehind.operations.DeleteAsyncOperation
public class DeleteAsyncOperation
Implements the delete operation for write behind
| Constructor Summary | |
|---|---|
DeleteAsyncOperation(KeySnapshot keySnapshot,
ElementSnapshot elementSnapshot)
|
|
| Method Summary | |
|---|---|
BatchAsyncOperation |
createBatchOperation(List<SingleAsyncOperation> operations,
SerializationStrategy serializationStrategy)
Creates a batch operation that corresponds to the operation type of this single async operation. |
net.sf.ehcache.Element |
createElement(SerializationStrategy serializationStrategy)
|
long |
getCreationTime()
Retrieves the moment when the operation was created. |
Object |
getKey(SerializationStrategy serializationStrategy)
Retrieves the key for this operation. |
void |
performSingleOperation(net.sf.ehcache.writer.CacheWriter cacheWriter,
SerializationStrategy serializationStrategy)
Perform this operation as a single execution with the provided cache writer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeleteAsyncOperation(KeySnapshot keySnapshot,
ElementSnapshot elementSnapshot)
| Method Detail |
|---|
public void performSingleOperation(net.sf.ehcache.writer.CacheWriter cacheWriter,
SerializationStrategy serializationStrategy)
throws ClassNotFoundException,
IOException
SingleAsyncOperation
performSingleOperation in interface SingleAsyncOperationcacheWriter - the cache writer this operation should be performed uponserializationStrategy - the strategy that should be used to serialize and deserialize, if needed
ClassNotFoundException
IOException
public Object getKey(SerializationStrategy serializationStrategy)
throws IOException,
ClassNotFoundException
SingleAsyncOperation
getKey in interface SingleAsyncOperationserializationStrategy - the serialization strategy that should be used to create the key
IOException
ClassNotFoundException
public net.sf.ehcache.Element createElement(SerializationStrategy serializationStrategy)
throws ClassNotFoundException,
IOException
ClassNotFoundException
IOException
public BatchAsyncOperation createBatchOperation(List<SingleAsyncOperation> operations,
SerializationStrategy serializationStrategy)
throws ClassNotFoundException,
IOException
SingleAsyncOperationCacheWriter that will be used to execute the batch operation.
createBatchOperation in interface SingleAsyncOperationoperations - the single operations that need to be regrouped in the batch operationserializationStrategy - the serialization strategy that should be used to create the data for the batch
operation
ClassNotFoundException
IOExceptionpublic long getCreationTime()
SingleAsyncOperation
getCreationTime in interface SingleAsyncOperation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||