public class DataStructureWriteOperation extends WriteOperationBase
Constructor | Description |
---|---|
DataStructureWriteOperation() |
The default constructor for this class.
|
DataStructureWriteOperation(java.lang.String key,
DataStructureOperationType opType,
int retryCount,
DistributedDataStructureType dataType) |
WriteToCollectionOperation constructor which takes key, WriteOperationType and retries count.
|
DataStructureWriteOperation(java.lang.String key,
ProviderDataStructureItem<java.lang.Object> cacheItem,
DataStructureOperationType opType,
int retryCount) |
WriteCollectionOperation constructor which takes key, ProviderCache WriteOperationType and retries count.
|
Modifier and Type | Method | Description |
---|---|---|
DistributedDataStructureType |
getDataType() |
Gets the type of the collection associated with DataStructureWriteOperation.
|
DataStructureOperationType |
getOperationType() |
Gets the type of the write operation.
|
ProviderDataStructureItem<java.lang.Object> |
getProviderItem() |
Gets the ProviderDataStructureItem associated with the DataStructureWriteOperation.
|
void |
setDataType(DistributedDataStructureType value) |
Sets the type of the collection associated with DataStructureWriteOperation.
|
void |
setOperationType(DataStructureOperationType value) |
Sets the type of the write operation.
|
void |
setProviderItem(ProviderDataStructureItem<java.lang.Object> value) |
Sets the ProviderDataStructureItem associated with the DataStructureWriteOperation.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKey, getMethodOverlaod, getRetryCount, setKey, setMethodOverlaod
public DataStructureWriteOperation()
public DataStructureWriteOperation(java.lang.String key, DataStructureOperationType opType, int retryCount, DistributedDataStructureType dataType)
key
- key of an item on which operation has 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.dataType
- DistributedDataStructureType
specifying data type.public DataStructureWriteOperation(java.lang.String key, ProviderDataStructureItem<java.lang.Object> cacheItem, DataStructureOperationType opType, int retryCount)
key
- key of an item on which operation has to be performed.cacheItem
- is a ProviderCollectionItem 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 DataStructureOperationType getOperationType()
public final void setOperationType(DataStructureOperationType value)
value
- The DataStructureOperationType enum.public final ProviderDataStructureItem<java.lang.Object> getProviderItem()
public final void setProviderItem(ProviderDataStructureItem<java.lang.Object> value)
value
- The ProviderDataStructureItem instance.public final DistributedDataStructureType getDataType()
public final void setDataType(DistributedDataStructureType value)
value
- The DistributedDataStructureType enum.