Package io.quarkus.oidc.runtime
Class MemoryCache<T>
java.lang.Object
io.quarkus.oidc.runtime.MemoryCache<T>
-
Constructor Summary
ConstructorDescriptionMemoryCache
(io.vertx.core.Vertx vertx, Optional<Duration> cleanUpTimerInterval, Duration cacheTimeToLive, int cacheSize) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
boolean
containsKey
(String key) int
boolean
void
stopTimer
(io.vertx.core.Vertx vertx)
-
Constructor Details
-
MemoryCache
-
-
Method Details
-
add
-
remove
-
get
-
containsKey
-
getCacheSize
public int getCacheSize() -
clearCache
public void clearCache() -
stopTimer
public void stopTimer(io.vertx.core.Vertx vertx) -
isTimerRunning
public boolean isTimerRunning()
-