AttributesMutator SetLruEntriesLimit Method Pivotal GemFire .NET Client Documentation
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: 7.0.2.0
Syntax

public uint SetLruEntriesLimit(
	uint entriesLimit
)

Parameters

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

Return Value

the previous value
Exceptions

ExceptionCondition
GemStone.GemFire.Cache IllegalStateException if the new entriesLimit changes LRU from disabled to enabled or enabled to disabled.
See Also