Click or drag to resize
AttributesMutatorSetLruEntriesLimit Method
Sets the maximum entry count in the region before LRU eviction.

Namespace: GemStone.GemFire.Cache
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public uint SetLruEntriesLimit(
	uint entriesLimit
)

Parameters

entriesLimit
Type: SystemUInt32
the number of entries to allow, or 0 to disable LRU

Return Value

Type: UInt32
the previous value
Exceptions
ExceptionCondition
IllegalStateException if the new entriesLimit changes LRU from disabled to enabled or enabled to disabled.
See Also