public class LRUCache<K,V> extends Object
Constructor and Description |
---|
LRUCache(MockServerLogger mockServerLogger,
int maxSize,
long ttlInMillis) |
Modifier and Type | Method and Description |
---|---|
static void |
allCachesEnabled(boolean enabled) |
static void |
clearAllCaches() |
void |
delete(K key) |
V |
get(K key) |
void |
put(K key,
V value) |
void |
put(K key,
V value,
long ttl) |
static void |
setMaxSizeOverride(int maxSizeOverride) |
public LRUCache(MockServerLogger mockServerLogger, int maxSize, long ttlInMillis)
public static void allCachesEnabled(boolean enabled)
public static void clearAllCaches()
public void delete(K key)
public static void setMaxSizeOverride(int maxSizeOverride)
Copyright © 2022. All rights reserved.