|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.terracotta.modules.ehcache.writebehind.operations.WriteAsyncOperation
public class WriteAsyncOperation
| Constructor Summary | |
|---|---|
WriteAsyncOperation(Element snapshot)
|
|
| 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 WriteAsyncOperation(Element snapshot)
| Method Detail |
|---|
public Element getElement()
getElement in interface SingleAsyncOperationpublic 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 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 | |||||||||