Table of Contents

Class OperationContext<TKey, TValue>

Namespace
Scaleout.Client.MethodInvocation
Assembly
Scaleout.Client.dll

Contains state pertaining to a parallel method invocation operation.

public class OperationContext<TKey, TValue>

Type Parameters

TKey

Type of key used in the Cache<TKey, TValue> that is associated with this invocation.

TValue

Type of value that is stored in the Cache<TKey, TValue> associated with this invocation.

Inheritance
OperationContext<TKey, TValue>
Inherited Members

Properties

Cache

Gets the Cache<TKey, TValue> instance involved in the invoke operation.

CancellationToken

Gets the cancellation token for the operation.

FastReadVersion

Gets a version token that can be used to attempt a "fast read" from the in-process client cache. Supply this token to a Read(TKey, ReadOptions, CancellationToken) call by setting the FastReadVersion property to this value.