AttributesMutatorSetLruEntriesLimit Method |
Sets the maximum entry count in the region before LRU eviction.
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic uint SetLruEntriesLimit(
uint entriesLimit
)
Public Function SetLruEntriesLimit (
entriesLimit As UInteger
) As UInteger
public:
unsigned int SetLruEntriesLimit(
unsigned int entriesLimit
)
member SetLruEntriesLimit :
entriesLimit : uint32 -> uint32
Parameters
- entriesLimit
- Type: SystemUInt32
the number of entries to allow, or 0 to disable LRU
Return Value
Type:
UInt32the previous value
ExceptionsException | Condition |
---|
IllegalStateException |
if the new entriesLimit changes LRU from
disabled to enabled or enabled to disabled.
|
See Also