![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | NearCacheConfig Constructor (Int32, Int32, String, Int32, Boolean, InMemoryFormat) |
Namespace:
Hazelcast.Config
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxpublic NearCacheConfig(
int timeToLiveSeconds,
int maxSize,
string evictionPolicy,
int maxIdleSeconds,
bool invalidateOnChange,
InMemoryFormat inMemoryFormat
)
Public Sub New (
timeToLiveSeconds As Integer,
maxSize As Integer,
evictionPolicy As String,
maxIdleSeconds As Integer,
invalidateOnChange As Boolean,
inMemoryFormat As InMemoryFormat
)
public:
NearCacheConfig(
int timeToLiveSeconds,
int maxSize,
String^ evictionPolicy,
int maxIdleSeconds,
bool invalidateOnChange,
InMemoryFormat inMemoryFormat
)
new :
timeToLiveSeconds : int *
maxSize : int *
evictionPolicy : string *
maxIdleSeconds : int *
invalidateOnChange : bool *
inMemoryFormat : InMemoryFormat -> NearCacheConfig
Parameters
- timeToLiveSeconds
- Type: SystemInt32
- maxSize
- Type: SystemInt32
- evictionPolicy
- Type: SystemString
- maxIdleSeconds
- Type: SystemInt32
- invalidateOnChange
- Type: SystemBoolean
- inMemoryFormat
- Type: Hazelcast.ConfigInMemoryFormat
See Also