Is there any way to set TTL per record in hazelcast DB?Preferably in Map or Ringbuffer.
相关问题
- java.lang.NoSuchMethodError: com.google.common.uti
- com.hazelcast.nio.serialization.HazelcastSerializa
- Configure Hazelcast CPSubsystem Retries Timeout
- Microservices Architecture for highly frequent dat
- Does Hazelcast have a distributed priority queue i
相关文章
- How to write client proxy for SPI and what the dif
- Hazelcast dedicated nodes
- Persisting data on disk using Hazelcast
- Configuring a two node hazelcast cluster - avoidin
- Unable to register MBean [HikariDataSource (Hikari
- redis vs hazelcast [closed]
- Hazelcast equcalent for Coherence local cache
- How to add objects to a distributed queue in hazel
I guess you're looking for that:
IMap::put(Key, Value, TTL, TimeUnit)
IMap:
http://docs.hazelcast.org/docs/3.6/manual/html-single/index.html#evicting-specific-entries
http://docs.hazelcast.org/docs/3.6/javadoc/com/hazelcast/core/IMap.html#put(K,%20V,%20long,%20java.util.concurrent.TimeUnit)
http://docs.hazelcast.org/docs/3.6/javadoc/com/hazelcast/core/IMap.html#putAsync(K,%20V,%20long,%20java.util.concurrent.TimeUnit)
http://docs.hazelcast.org/docs/3.6/javadoc/com/hazelcast/core/IMap.html#putIfAbsent(K,%20V,%20long,%20java.util.concurrent.TimeUnit)
http://docs.hazelcast.org/docs/3.6/javadoc/com/hazelcast/core/IMap.html#putTransient(K,%20V,%20long,%20java.util.concurrent.TimeUnit)
http://docs.hazelcast.org/docs/3.6/javadoc/com/hazelcast/core/IMap.html#set(K,%20V,%20long,%20java.util.concurrent.TimeUnit)