![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | NearCacheConfigGetMaxIdleSeconds Method |
Gets 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.9.4
Syntaxpublic virtual int GetMaxIdleSeconds()
Public Overridable Function GetMaxIdleSeconds As Integer
public:
virtual int GetMaxIdleSeconds()
abstract GetMaxIdleSeconds : unit -> int
override GetMaxIdleSeconds : unit -> int
Return Value
Type:
Int32maximum number of seconds each entry can stay in the Near Cache as untouched
Remarks
Entries that are untouched more than maxIdleSeconds value will get removed from the Near Cache.
See Also