Click or drag to resize

NearCacheConfigSetMaxIdleSeconds Method

Set the maximum number of seconds each entry can stay in the Near Cache as untouched (not read).

Namespace:  Hazelcast.Config
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.3
Syntax
public virtual NearCacheConfig SetMaxIdleSeconds(
	int maxIdleSeconds
)

Parameters

maxIdleSeconds
Type: SystemInt32

Return Value

Type: NearCacheConfig
this Near Cache config instance
Remarks
Entries that are untouched (not read) more than maxIdleSeconds value will get removed from the Near Cache.
Accepts any integer between 0 and int.MaxValue. The value 0 means int.MaxValue. The default is 0.
See Also