| Constructor and Description |
|---|
NoCache() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(K key) |
static <expectedK,expectedV> |
create()
Create a new instance.
|
Optional<V> |
get(K key) |
boolean |
isEmpty() |
void |
put(K key,
V value) |
void |
remove(K key) |
void |
removeAll() |
long |
size() |
CacheStats |
stats() |
public static <expectedK,expectedV> NoCache<expectedK,expectedV> create()
expectedK - The expected type for the key.expectedV - The expected type for the value.NoCache.public CacheStats stats()
Copyright © 2007–2024. All rights reserved.