• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Constructor DataTypeWriteOperation

DataTypeWriteOperation()

Constructor

Declaration
public DataTypeWriteOperation()

DataTypeWriteOperation(String, DatastructureOperationType, Int32, DistributedDataType)

WriteToCollectionOperation 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 operation has to be performed

DatastructureOperationType opType

WriteOperationType that contains the type of the Operation that is need to be performed

System.Int32 retryCount

RetryCount is a count for how many times the retries are need to be performed for the FailureRetry items

Alachisoft.NCache.Runtime.Caching.DistributedDataType dataType

Alachisoft.NCache.Runtime.Caching.DistributedDataType specifying data type.

DataTypeWriteOperation(String, ProviderDataTypeItem<Object>, DatastructureOperationType, Int32)

WriteCollectionOperation constructor which takes key, ProviderCache 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

is a ProviderCollectionItem that contains the object on which operation is need to be performed

DatastructureOperationType opType

WriteOperationType that contains the type of the Operation that is need to be performed

System.Int32 retryCount

RetryCount is a count for how many times the retries are need to be performed for the FailureRetry items

Back to top Copyright © 2017 Alachisoft