| Package | Description |
|---|---|
| org.cache2k.impl | |
| org.cache2k.storage |
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ArcCache.Entry<K,T>
An entry in the hash table
|
class |
Entry<E extends Entry,K,T>
The cache entry.
|
protected static class |
LruCache.Entry<K,T> |
| Modifier and Type | Method and Description |
|---|---|
StorageEntry |
NoopStorageAdapter.get(Object key) |
StorageEntry |
PassingStorageAdapter.get(Object k) |
StorageEntry |
FailureStorageAdapter.get(Object key) |
abstract StorageEntry |
StorageAdapter.get(Object key) |
StorageEntry |
ClearStorageBuffer.get(Object key) |
StorageEntry |
AggregationStorageAdapter.get(Object key)
Ask storages for the entry.
|
| Modifier and Type | Method and Description |
|---|---|
protected Entry |
BaseCache.insertEntryFromStorage(StorageEntry se,
boolean _needsFetch)
Insert the storage entry in the heap cache and return it.
|
protected long |
BaseCache.insertEntryFromStorage(StorageEntry se,
E e,
boolean _needsFetch) |
void |
ClearStorageBuffer.put(StorageEntry e) |
| Modifier and Type | Method and Description |
|---|---|
StorageEntry |
PurgeableStorage.PurgeAction.checkAndPurge(Object key)
Check storage whether entry for the key is still expired.
|
StorageEntry |
CacheStorage.get(Object key)
Retrieve the entry from the storage.
|
StorageEntry |
ImageFileStorage.get(Object key) |
StorageEntry |
ByReferenceHeapStorageImpl.get(Object key) |
| Modifier and Type | Method and Description |
|---|---|
void |
CacheStorageContext.notifyEvicted(StorageEntry e) |
void |
CacheStorageContext.notifyExpired(StorageEntry e) |
void |
CacheStorage.put(StorageEntry e)
Stores the entry in the storage.
|
void |
ImageFileStorage.put(StorageEntry e)
Store a new entry.
|
void |
ByReferenceHeapStorageImpl.put(StorageEntry e) |
void |
CacheStorage.EntryVisitor.visit(StorageEntry e) |
cache2k API documentation. Copyright © 2000–2015 headissue GmbH, Munich.