public class IntSLRUCache<T>
extends java.lang.Object
Constructor and Description |
---|
IntSLRUCache(int protectedQueueSize,
int probationalQueueSize) |
Modifier and Type | Method and Description |
---|---|
IntObjectLinkedMap.MapEntry<T> |
cacheEntry(int key,
T value) |
IntObjectLinkedMap.MapEntry<T> |
getCachedEntry(int id) |
IntObjectLinkedMap.MapEntry<T> |
getCachedEntry(int id,
boolean allowMutation) |
public IntSLRUCache(int protectedQueueSize, int probationalQueueSize)
public IntObjectLinkedMap.MapEntry<T> cacheEntry(int key, T value)
public IntObjectLinkedMap.MapEntry<T> getCachedEntry(int id)
public IntObjectLinkedMap.MapEntry<T> getCachedEntry(int id, boolean allowMutation)