Method SetPreemptionPriority
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
preemptionPriorityPreemptionPriorityPreemption priority for the cache.
Returns
- CacheBuilder<TKey, TValue>
A builder object that can be used to further configure the cache.