| 
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.store.compound.LegacyCopyStrategyAdapter
public class LegacyCopyStrategyAdapter
ReadWriteCopyStrategy adaptor for a legacy CopyStrategy instance
| Constructor Summary | |
|---|---|
LegacyCopyStrategyAdapter(CopyStrategy legacyCopyStrategy)
create a LegacyCopyStrategyAdapter  | 
|
| Method Summary | |
|---|---|
 Element | 
copyForRead(Element storedValue)
Reconstruct an object from its storage-ready copy.  | 
 Element | 
copyForWrite(Element value)
Deep copies some object and returns an internal storage-ready copy  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public LegacyCopyStrategyAdapter(CopyStrategy legacyCopyStrategy)
legacyCopyStrategy - the legacy CopyStrategy to adapt| Method Detail | 
|---|
public Element copyForWrite(Element value)
copyForWrite in interface ReadWriteCopyStrategy<Element>value - the value to copy
public Element copyForRead(Element storedValue)
copyForRead in interface ReadWriteCopyStrategy<Element>storedValue - the storage-ready copy
  | 
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||