Package play.cache
Interface CacheImpl
- All Known Implementing Classes:
DummyCacheImpl
@NullMarked
@CheckReturnValue
public interface CacheImpl
A cache implementation. expiration is specified in seconds.
When implementing this interface make sure to provide a static method with this signature:
static CacheImpl instance(@NonNull Properties playProperties) throws IOException
This method is used by RePlay's Cache class to load the implementation.-
Method Summary
-
Method Details
-
set
-
get
-
clear
void clear() -
delete
-
stop
void stop()
-