public class ItemPropertyCacheKey extends ItemCacheKey implements PropertyOwner
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
cloned |
protected TypeInfoMap |
info |
protected PK |
itemPK |
static java.lang.String |
QUALI |
| Modifier | Constructor and Description |
|---|---|
protected |
ItemPropertyCacheKey(EJBPropertyRowCache preset) |
|
ItemPropertyCacheKey(EJBPropertyRowCache prc,
PK itemPK)
used by HJMP to pre-load unloc props cache - dont use elsewhere
|
protected |
ItemPropertyCacheKey(PK itemPK)
clone constructor
|
|
ItemPropertyCacheKey(TypeInfoMap info) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
clone() |
protected java.lang.Object |
cloneValue(java.lang.Object value)
this method should clone a cached value object.
|
protected java.lang.Object |
computeValue(ItemEJB item)
initially creates the cached data object for a specified item.
|
protected java.lang.Object |
createUnmodifiableViewOfValue(java.lang.Object value)
it's ok to return the result of
getValue in this method; otherwise, the returned object has to
reflect subsequent changes of the object returned by getValue |
protected void |
dispose(boolean inRemove)
called when this cache key object is remove from cache.
|
protected java.lang.String |
getQualifier() |
protected boolean |
isValid(ItemEJB item) |
void |
notifyPropertyDataChanged(long ts)
just to check that no changes are made on non-cloned cache keys
|
getCopy, getValueForModification, getValueForReading, getValueForReadingIfAvailable, getValueInternalpublic static final java.lang.String QUALI
protected PK itemPK
protected TypeInfoMap info
protected final boolean cloned
public ItemPropertyCacheKey(TypeInfoMap info)
protected ItemPropertyCacheKey(EJBPropertyRowCache preset)
public ItemPropertyCacheKey(EJBPropertyRowCache prc, PK itemPK)
protected ItemPropertyCacheKey(PK itemPK)
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionprotected java.lang.String getQualifier()
getQualifier in class ItemCacheKeyprotected boolean isValid(ItemEJB item)
isValid in class ItemCacheKeyprotected void dispose(boolean inRemove)
ItemCacheKeydispose in class ItemCacheKeyprotected java.lang.Object computeValue(ItemEJB item)
ItemCacheKeycomputeValue in class ItemCacheKeyprotected java.lang.Object cloneValue(java.lang.Object value)
ItemCacheKeyItemCacheKey.getCopy() only if this
ItemCacheKey object already holds a cached value object.cloneValue in class ItemCacheKeyprotected final java.lang.Object createUnmodifiableViewOfValue(java.lang.Object value)
ItemCacheKeygetValue in this method; otherwise, the returned object has to
reflect subsequent changes of the object returned by getValuecreateUnmodifiableViewOfValue in class ItemCacheKeypublic final void notifyPropertyDataChanged(long ts)
notifyPropertyDataChanged in interface PropertyOwnerCopyright © 2018 SAP SE. All Rights Reserved.