private static class AsynchronousDispatcher.Cache extends java.util.LinkedHashMap<java.lang.String,java.util.concurrent.Future<MockHttpResponse>>
| Modifier and Type | Field and Description |
|---|---|
private int |
maxSize |
| Constructor and Description |
|---|
Cache(int maxSize) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
removeEldestEntry(java.util.Map.Entry<java.lang.String,java.util.concurrent.Future<MockHttpResponse>> stringFutureEntry) |
void |
setMaxSize(int maxSize) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeprotected boolean removeEldestEntry(java.util.Map.Entry<java.lang.String,java.util.concurrent.Future<MockHttpResponse>> stringFutureEntry)
removeEldestEntry in class java.util.LinkedHashMap<java.lang.String,java.util.concurrent.Future<MockHttpResponse>>public void setMaxSize(int maxSize)