public class ImmutableValueElementCopyStrategy extends Object implements ReadWriteCopyStrategy<Element>
Constructor and Description |
---|
ImmutableValueElementCopyStrategy() |
Modifier and Type | Method and Description |
---|---|
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
|
public Element copyForWrite(Element value)
ReadWriteCopyStrategy
copyForWrite
in interface ReadWriteCopyStrategy<Element>
value
- the value to copypublic Element copyForRead(Element storedValue)
ReadWriteCopyStrategy
copyForRead
in interface ReadWriteCopyStrategy<Element>
storedValue
- the storage-ready copyCopyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.