Class DataTypeWriteOperation
This class contains operations to be performed on the created collection.
Inherited Members
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class DataTypeWriteOperation : WriteOperationBase
              Constructors
DataTypeWriteOperation()
Default constructor of the class DataTypeWriteOperation to initialize its object.
Declaration
public DataTypeWriteOperation()
              DataTypeWriteOperation(String, ProviderDataTypeItem<Object>, DatastructureOperationType, Int32)
DataTypeWriteOperation constructor which takes key, ProviderDataTypeItem, WriteOperationType and retries count.
Declaration
public DataTypeWriteOperation(string key, ProviderDataTypeItem<object> cacheItem, DatastructureOperationType opType, int retryCount)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | key | Key of an item on which operation has to be performed.  | 
                  
| ProviderDataTypeItem<System.Object> | cacheItem | It is a ProviderCollectionItem that contains the object on which operation needs to be performed.  | 
                  
| DatastructureOperationType | opType | WriteOperationType that contains the type of the operation that needs to be performed.  | 
                  
| System.Int32 | retryCount | RetryCount is a count for how many times the retries need to be performed for the FailureRetry items.  | 
                  
DataTypeWriteOperation(String, DatastructureOperationType, Int32, DistributedDataType)
DataTypeWriteOperation constructor which takes key, WriteOperationType and retries count.
Declaration
public DataTypeWriteOperation(string key, DatastructureOperationType opType, int retryCount, DistributedDataType dataType)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | key | Key of an item on which the operation has to be performed.  | 
                  
| DatastructureOperationType | opType | WriteOperationType that contains the type of the operation that needs to be performed.  | 
                  
| System.Int32 | retryCount | RetryCount is a count for how many times the retries need to be performed for the FailureRetry items.  | 
                  
| DistributedDataType | dataType | DistributedDataType specifies the data type.  | 
                  
Properties
DataType
Type of collection.
Declaration
public DistributedDataType DataType { get; set; }
              Property Value
| Type | Description | 
|---|---|
| DistributedDataType | Enumeration that defines the data type.  | 
                  
OperationType
Gets the type of the write operation.
Declaration
public DatastructureOperationType OperationType { get; set; }
              Property Value
| Type | Description | 
|---|---|
| DatastructureOperationType | Defines the operation on the data type.  | 
                  
ProviderItem
Gets/Sets the cache item.
Declaration
public ProviderDataTypeItem<object> ProviderItem { get; set; }
              Property Value
| Type | Description | 
|---|---|
| ProviderDataTypeItem<System.Object> | DataTypeItem is just like CacheItem with some limited fields.  |