| Package | Description |
|---|---|
| net.pterodactylus.util.cache |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultCacheItem<V>
|
| Modifier and Type | Method and Description |
|---|---|
CacheItem<V> |
ValueRetriever.retrieve(K key)
Retrieves the value for the given key.
|
protected CacheItem<V> |
AbstractCache.retrieveValue(K key)
Retrieves a value from the value retriever.
|
| Constructor and Description |
|---|
MemoryCache(ValueRetriever<K,V> valueRetriever,
Map<K,CacheItem<V>> storage)
Creates a new memory cache, using the given map as storage backend.
|
Copyright © 2026. All rights reserved.