public abstract class SimpleFieldCache<T,Owner> extends FieldCache<T,Owner,java.lang.Object,java.lang.Object>
Constructor and Description |
---|
SimpleFieldCache() |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
compute(Owner owner) |
protected T |
compute(Owner owner,
java.lang.Object p) |
T |
get(Owner owner) |
protected abstract T |
getValue(Owner owner) |
protected T |
getValue(Owner owner,
java.lang.Object p) |
protected abstract void |
putValue(T t,
Owner owner) |
protected void |
putValue(T t,
Owner owner,
java.lang.Object p) |
clear, get, getCached
protected final T compute(Owner owner, java.lang.Object p)
compute
in class FieldCache<T,Owner,java.lang.Object,java.lang.Object>
protected final T getValue(Owner owner, java.lang.Object p)
getValue
in class FieldCache<T,Owner,java.lang.Object,java.lang.Object>
protected final void putValue(T t, Owner owner, java.lang.Object p)
putValue
in class FieldCache<T,Owner,java.lang.Object,java.lang.Object>