| 
 | 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,
            ClassLoader loader)Reconstruct an object from its storage-ready copy. | 
|  Element | copyForWrite(Element value,
             ClassLoader loader)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,
                            ClassLoader loader)
copyForWrite in interface ReadWriteCopyStrategy<Element>value - the value to copy
public Element copyForRead(Element storedValue,
                           ClassLoader loader)
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 | |||||||||