|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ojb.broker.cache.ObjectCacheTwoLevelImpl.CopyStrategyImpl
| Constructor Summary | |
ObjectCacheTwoLevelImpl.CopyStrategyImpl()
|
|
| Method Summary | |
java.lang.Object |
read(PersistenceBroker broker,
java.lang.Object obj)
Called when an object is read from the application cache (second level cache) before the object is full materialized, see ObjectCacheTwoLevelImpl.materializeFullObject(Object). |
java.lang.Object |
write(PersistenceBroker broker,
java.lang.Object obj,
java.lang.Object oldObject)
Called before an object is written to the application cache (second level cache). |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ObjectCacheTwoLevelImpl.CopyStrategyImpl()
| Method Detail |
public java.lang.Object read(PersistenceBroker broker,
java.lang.Object obj)
ObjectCacheTwoLevelImpl.CopyStrategyObjectCacheTwoLevelImpl.materializeFullObject(Object).
read in interface ObjectCacheTwoLevelImpl.CopyStrategybroker - The current used PersistenceBroker instance.obj - The object read from the application cache.
public java.lang.Object write(PersistenceBroker broker,
java.lang.Object obj,
java.lang.Object oldObject)
ObjectCacheTwoLevelImpl.CopyStrategy
write in interface ObjectCacheTwoLevelImpl.CopyStrategybroker - The current used PersistenceBroker instance.obj - The object to cache in application cache.oldObject - The old cache object or null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||