![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | NearCacheConfigGetMaxSize Method |
Returns the maximum size of the Near Cache.
When the maxSize is reached, the Near Cache is evicted based on the policy defined.
Namespace:
Hazelcast.Config
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxpublic virtual int GetMaxSize()
Public Overridable Function GetMaxSize As Integer
public:
virtual int GetMaxSize()
abstract GetMaxSize : unit -> int
override GetMaxSize : unit -> int
Return Value
Type:
Int32the maximum size of the Near Cache
See Also