Class WriteOperationBase
- java.lang.Object
-
- com.alachisoft.ncache.runtime.datasourceprovider.WriteOperationBase
-
- Direct Known Subclasses:
DataStructureWriteOperation,WriteOperation
public class WriteOperationBase extends java.lang.ObjectBase class of the write operation.
-
-
Constructor Summary
Constructors Constructor Description WriteOperationBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetKey()Gets the key on which operation has been performed.intgetMethodOverlaod()Specifies which overload of the operation has to be performed.intgetRetryCount()Specifies number of retries in case of data source operation failure.voidsetKey(java.lang.String value)Sets the key on which operation has been performed.voidsetMethodOverlaod(int value)Specifies which overload of the operation has to be performed.
-
-
-
Method Detail
-
getKey
public java.lang.String getKey()
Gets the key on which operation has been performed.- Returns:
- The key as string.
-
setKey
public 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.
-
-