|
||||||||||
| 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
| Constructor Summary | |
|---|---|
DeleteAsyncOperation(Object keySnapshot,
Element elementSnapshot)
|
|
| Method Summary | |
|---|---|
long |
getCreationTime()
Retrieves the moment when the operation was created. |
Element |
getElement()
|
Object |
getKey()
Retrieves the key for this operation. |
void |
performSingleOperation(CacheWriter cacheWriter)
Perform this operation as a single execution with the provided cache writer |
void |
throwAwayElement(CacheWriter cacheWriter,
RuntimeException e)
This method will be called to throw the item away. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeleteAsyncOperation(Object keySnapshot,
Element elementSnapshot)
| Method Detail |
|---|
public void performSingleOperation(CacheWriter cacheWriter)
SingleAsyncOperation
performSingleOperation in interface SingleAsyncOperationcacheWriter - the cache writer this operation should be performed uponpublic Object getKey()
SingleAsyncOperation
getKey in interface SingleAsyncOperationpublic Element getElement()
getElement in interface SingleAsyncOperationpublic long getCreationTime()
SingleAsyncOperation
getCreationTime in interface SingleAsyncOperation
public void throwAwayElement(CacheWriter cacheWriter,
RuntimeException e)
SingleAsyncOperation
throwAwayElement in interface SingleAsyncOperation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||