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: 8.2.4.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public uint SetLruEntriesLimit(
	uint entriesLimit
)
Public Function SetLruEntriesLimit ( _
	entriesLimit As UInteger _
) As UInteger
public:
unsigned int SetLruEntriesLimit(
	unsigned int entriesLimit
)

Parameters

entriesLimit
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