Sets a limit on the number of entries that will be held in the cache.
If a new entry is added while at the limit, the cache will evict the
least recently used entry.
Namespace: GemStone.GemFire.Cache
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 2.7.0.1
Syntax
| C# |
|---|
public void SetLruEntriesLimit( uint entriesLimit ) |
| Visual Basic (Declaration) |
|---|
Public Sub SetLruEntriesLimit ( _ entriesLimit As UInteger _ ) |
| Visual C++ |
|---|
public: void SetLruEntriesLimit ( unsigned int entriesLimit ) |
Parameters
- entriesLimit
- UInt32
The limit of the number of entries before eviction starts. Defaults to 0, meaning no LRU actions will used.
See Also
AttributesFactory Class
GemStone.GemFire.Cache Namespace