Conversation
Signed-off-by: gusu <spring.razer@gmail.com>
|
This PR is stale because it has been open 30 days with no activity. Remove the status/stale label or comment or this PR will be closed in 7 days. |
|
This PR was closed because it has been stalled for 7 days with no activity. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #646 +/- ##
============================================
- Coverage 38.11% 35.04% -3.08%
+ Complexity 1613 1448 -165
============================================
Files 278 279 +1
Lines 17482 17391 -91
Branches 1986 1975 -11
============================================
- Hits 6663 6094 -569
- Misses 10154 10681 +527
+ Partials 665 616 -49
... and 43 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
What problem does this PR solve?
add methods with time unit param for
RawKVClientBasefor easier useWhat is changed and how does it work?
add default method in interface
RawKVClientBaseincludevoid put(ByteString key, ByteString value, long ttl)Optional<ByteString> putIfAbsent(ByteString key, ByteString value, long ttl)void compareAndSet(ByteString key, Optional<ByteString> prevValue, ByteString value, long ttl)void batchPut(Map<ByteString, ByteString> kvPairs, long ttl);Code changes
Check List for Tests
This PR has been tested by at least one of the following methods:
Side effects
Related changes