hazelcast / hazelcast/hazelcast-cpp-client
IMAP::replace() with TTL - missing [API-2373]
Open
Estimation: S
Priority: Medium
to-jira
Type: Enhancement
- Dominant language
- C++
- Stars
- 91
- Forks
- 54
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 5
Description
Hi,
I would like to request a feature enhancement: Adding an IMAP::replace() with optional TTL argument.
So that when the record would get replaced, the new TTL would be set as well.
Currently it is not possible to do a compare-and-set like conditional update of a record and modify the TTL at the same time.
bool replace (const K &key, const V &oldValue, const V &newValue, **long ttlInMillis**)
Thank you,
Regards,
Roman
Contributor guide
Assessment
This issue has not been assessed yet.