Interface TokenReplayCache<T>
-
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
EHCacheTokenReplayCache
public interface TokenReplayCache<T> extends Closeable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()booleancontains(T id)voidputId(T id)voidputId(T id, Instant expiry)
-
-
-
Method Detail
-
contains
boolean contains(T id)
-
putId
void putId(T id)
-
close
void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-