|
|
|
@ -19,10 +19,7 @@ import java.util.Set;
|
|
|
|
|
import java.util.concurrent.TimeUnit;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* <p>Set-based cache with ability to set TTL for each entry via
|
|
|
|
|
* {@link #put(Object, Object, long, TimeUnit)} method.
|
|
|
|
|
* And therefore has an complex lua-scripts inside.
|
|
|
|
|
* Uses map(value_hash, value) to tie with sorted set which contains expiration record for every value with TTL.
|
|
|
|
|
* <p>Set-based cache with ability to set TTL for each object.
|
|
|
|
|
* </p>
|
|
|
|
|
*
|
|
|
|
|
* <p>Current Redis implementation doesn't have set entry eviction functionality.
|
|
|
|
|