T - typepublic interface ReadWriteCopyStrategy<T> extends Serializable
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Modifier and Type | Method and Description |
|---|---|
T |
copyForRead(T storedValue,
ClassLoader loader)
Reconstruct an object from its storage-ready copy.
|
T |
copyForWrite(T value,
ClassLoader loader)
Deep copies some object and returns an internal storage-ready copy
|
static final long serialVersionUID
T copyForWrite(T value, ClassLoader loader)
value - the value to copyT copyForRead(T storedValue, ClassLoader loader)
storedValue - the storage-ready copyCopyright 2001-2021, Terracotta, Inc.