Class WriteOperation
Inheritance
System.Object
WriteOperation
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class WriteOperation
WriteOperation(String, ProviderCacheItem, WriteOperationType, Int32)
Declaration
public WriteOperation(string key, ProviderCacheItem cacheItem, WriteOperationType opType, int retryCount)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
ProviderCacheItem | cacheItem | |
WriteOperationType | opType | |
System.Int32 | retryCount |
Key
Gets the key of cache item.
Declaration
public string Key { get; }
Property Value
Type | Description |
---|---|
System.String |
MethodOverlaod
Declaration
public int MethodOverlaod { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
OperationType
Gets the type of Write operation.
Declaration
public WriteOperationType OperationType { get; }
Property Value
Type | Description |
---|---|
WriteOperationType |
ProviderCacheItem
Gets/Sets the cache item.
Declaration
public ProviderCacheItem ProviderCacheItem { get; set; }
Property Value
Type | Description |
---|---|
ProviderCacheItem |
RetryCount
Specify number of retries in case of data source operation failure.
Declaration
public int RetryCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |