Class WriteOperationBase
- java.lang.Object
-
- com.alachisoft.ncache.runtime.datasourceprovider.WriteOperationBase
-
- Direct Known Subclasses:
DataStructureWriteOperation
,WriteOperation
public class WriteOperationBase extends java.lang.Object
Base class of the write operation.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
_retryCount
Retries in case of ata source operation failure.
-
Constructor Summary
Constructors Constructor Description WriteOperationBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKey()
Gets the key on which operation has been performed.int
getMethodOverlaod()
Specifies which overload of the operation has to be performed.int
getRetryCount()
Specifies number of retries in case of data source operation failure.void
setKey(java.lang.String value)
Sets the key on which operation has been performed.void
setMethodOverlaod(int value)
Specifies which overload of the operation has to be performed.
-
-
-
Method Detail
-
getKey
public final java.lang.String getKey()
Gets the key on which operation has been performed.- Returns:
- The key as string.
-
setKey
public final void setKey(java.lang.String value)
Sets the key on which operation has been performed.- Parameters:
value
- The key as string.
-
getRetryCount
public final int getRetryCount()
Specifies number of retries in case of data source operation failure.- Returns:
- The number of retries.
-
getMethodOverlaod
public final int getMethodOverlaod()
Specifies which overload of the operation has to be performed.- Returns:
- The method overload as int.
-
setMethodOverlaod
public final void setMethodOverlaod(int value)
Specifies which overload of the operation has to be performed.- Parameters:
value
- The method overload as int.
-
-