![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | NearCacheConfigReadOnlySetTimeToLiveSeconds Method |
Not supported function in readonly config, throws
Namespace:
Hazelcast.Config
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxpublic override NearCacheConfig SetTimeToLiveSeconds(
int timeToLiveSeconds
)
Public Overrides Function SetTimeToLiveSeconds (
timeToLiveSeconds As Integer
) As NearCacheConfig
public:
virtual NearCacheConfig^ SetTimeToLiveSeconds(
int timeToLiveSeconds
) override
abstract SetTimeToLiveSeconds :
timeToLiveSeconds : int -> NearCacheConfig
override SetTimeToLiveSeconds :
timeToLiveSeconds : int -> NearCacheConfig
Parameters
- timeToLiveSeconds
- Type: SystemInt32
Return Value
Type:
NearCacheConfig
Exceptions
See Also