Click or drag to resize

NearCacheConfigSetEvictionPolicy Method

Sets the eviction policy. Valid values are:
  • LRU (Least Recently Used)
  • LFU (Least Frequently Used)
  • NONE (no extra eviction, time-to-live-seconds or max-idle-seconds may still apply)
  • RANDOM (random entry)

Namespace:  Hazelcast.Config
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.11
Syntax
public virtual NearCacheConfig SetEvictionPolicy(
	string evictionPolicy
)

Parameters

evictionPolicy
Type: SystemString
eviction policy.

Return Value

Type: NearCacheConfig
this Near Cache config instance
See Also