client-java icon indicating copy to clipboard operation
client-java copied to clipboard

add time unit for ttl param

Open razertory opened this issue 2 years ago • 0 comments

Feature Request

Is your feature request related to a problem? Please describe:

Describe the feature you'd like: When I use RawKVClientBase methods, such as void put(ByteString key, ByteString value, long ttl). The ttl param need time unit for better use

Describe alternatives you've considered: I'll add a PR for this feature. Such as default void put(ByteString key, ByteString value, long duration, TimeUnit timeUnit)

Teachability, Documentation, Adoption, Migration Strategy:

razertory avatar Mar 15 '23 08:03 razertory