Table of Contents

Method SetPreemptionPriority

Namespace
Scaleout.Client
Assembly
Scaleout.Client.dll

SetPreemptionPriority(PreemptionPriority)

Sets the preemption priority for objects in the cache, which specifies whether the least recently accessed objects may be evicted when the ScaleOut service runs low on memory.

public CacheBuilder<TKey, TValue> SetPreemptionPriority(PreemptionPriority preemptionPriority)

Parameters

preemptionPriority PreemptionPriority

Preemption priority for the cache.

Returns

CacheBuilder<TKey, TValue>

A builder object that can be used to further configure the cache.