Table of Contents

Method SetSingleObjectInvokeHandler

Namespace
Scaleout.Client
Assembly
Scaleout.Client.dll

SetSingleObjectInvokeHandler<TKey, TValue>(Cache<TKey, TValue>, Func<TKey, SingleObjectInvokeArgs, byte[]>)

Sets an async callback method for handling single object invoke events.

public static void SetSingleObjectInvokeHandler<TKey, TValue>(Cache<TKey, TValue> cache, Func<TKey, SingleObjectInvokeArgs, byte[]> callback)

Parameters

cache Cache<TKey, TValue>

The cache containing objects involved in the SingleObjectInvoke operations.

callback Func<TKey, SingleObjectInvokeArgs, byte[]>

Callback that handles the SingleObjectInvoke operation.

Type Parameters

TKey

The type of keys in the cache.

TValue

The type of values in the cache.