RegionFactorySetLruEntriesLimit Method |
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.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic RegionFactory SetLruEntriesLimit(
uint entriesLimit
)
Public Function SetLruEntriesLimit (
entriesLimit As UInteger
) As RegionFactory
public:
RegionFactory^ SetLruEntriesLimit(
unsigned int entriesLimit
)
member SetLruEntriesLimit :
entriesLimit : uint32 -> RegionFactory
Parameters
- entriesLimit
- Type: SystemUInt32
The limit of the number of entries before eviction starts.
Defaults to 0, meaning no LRU actions will used.
Return Value
Type:
RegionFactorythe instance of RegionFactory
See Also