| Modifier and Type | Class and Description |
|---|---|
class |
TimeToLiveConfigAdapter
If timeToLive less than 0 then timeToLive is set to forever
|
| Modifier and Type | Method and Description |
|---|---|
TimeToLiveConfig |
TimeToLiveConfigAdapter.setTimeToLive(Class<?> cls,
long timeToLive,
TimeUnit timeUnit) |
TimeToLiveConfig |
TimeToLiveConfig.setTimeToLive(Class<?> cls,
long timeToLive,
TimeUnit timeUnit)
Set item time to live by item class
|
TimeToLiveConfig |
TimeToLiveConfigAdapter.setTimeToLive(String cacheName,
long timeToLive,
TimeUnit timeUnit) |
TimeToLiveConfig |
TimeToLiveConfig.setTimeToLive(String cacheName,
long timeToLive,
TimeUnit timeUnit)
Set item time to live by cache name
|
protected TimeToLiveConfig |
CacheManagerConfigAdapter.ttlConfig() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
CacheManagerConfigAdapter.applyItemTimeToLiveValues(TimeToLiveConfig ttlConfig)
Configure per item class time-to-live
|
void |
CacheManagerImpl.setTtlConfig(TimeToLiveConfig ttlConfig) |
| Constructor and Description |
|---|
CacheImpl(com.hazelcast.core.HazelcastInstance hz,
String hzTopicName,
String hzMapNamePrefix,
String name,
CacheSerializer serializer,
TimeToLiveConfig ttlConfig,
long firstLevelCacheSize) |
Copyright © 2018. All rights reserved.