Closed
Description
ExpiringMap<String, String> build = ExpiringMap.builder()
.expiration(10, TimeUnit.SECONDS)
.maxSize(10)
.expirationPolicy(ExpirationPolicy.ACCESSED)
.build();
build.put("foo", "bar");
build.get("foo");
hi, @jhalterman, when "foo" is accessed before it expires, will the TTL of "foo" be refreshed?
Metadata
Metadata
Assignees
Labels
No labels