public class WriteOperation extends WriteOperationBase
Constructor | Description |
---|---|
WriteOperation(java.lang.String key,
ProviderCacheItem cacheItem,
WriteOperationType opType,
int retryCount) |
WriteOperation constructor which takes key, ProviderCache WriteOperationType and retries count.
|
Modifier and Type | Method | Description |
---|---|---|
WriteOperationType |
getOperationType() |
Gets the type of Write operation.
|
ProviderCacheItem |
getProviderCacheItem() |
Gets the ProviderCacheItem associated with the WriteOperation.
|
void |
setProviderCacheItem(ProviderCacheItem value) |
Sets the ProviderCacheItem associated with the WriteOperation.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKey, getMethodOverlaod, getRetryCount, setKey, setMethodOverlaod
public WriteOperation(java.lang.String key, ProviderCacheItem cacheItem, WriteOperationType opType, int retryCount)
key
- Key of an item on which operation has to be performed.cacheItem
- ProviderCacheItem that contains the object on which operation is need to be performed.opType
- WriteOperationType that contains the type of the Operation that is need to be performed.retryCount
- RetryCount is a count for how many times the retries are need to be performed for the FailureRetry items.public final ProviderCacheItem getProviderCacheItem()
public final void setProviderCacheItem(ProviderCacheItem value)
value
- The ProviderCacheItem to be associated with the WriteOperation.public final WriteOperationType getOperationType()