Is there any way to set TTL per record in hazelcast DB?Preferably in Map or Ringbuffer.
Setting TTL/Record Expiry in hazelcast
Asked Answered
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
How to set ttl of an already exist key without geting and setting the value. –
Banquette
© 2022 - 2024 — McMap. All rights reserved.