public abstract class HardCache
extends java.lang.Object
| Constructor and Description |
|---|
HardCache()
Create a hashed cache.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears all items from the cache, so that they must be reloaded.
|
java.lang.Object |
getCached(java.lang.Object index) |
abstract java.lang.Object |
getUncached(java.lang.Object index)
Subclasses must implement this - it does the "real fetch" of the object,
uncached, however appropriate for your use.
|
public java.lang.Object getCached(java.lang.Object index)
public abstract java.lang.Object getUncached(java.lang.Object index)
public void clear()