public class CopyStrategyHandler extends Object
Constructor and Description |
---|
CopyStrategyHandler(boolean copyOnRead,
boolean copyOnWrite,
ReadWriteCopyStrategy<Element> copyStrategy,
ClassLoader loader)
Creates a CopyStrategyHandler based on the copy configuration
|
Modifier and Type | Method and Description |
---|---|
Element |
copyElementForReadIfNeeded(Element element)
Perform copy on read on an element if configured
|
public CopyStrategyHandler(boolean copyOnRead, boolean copyOnWrite, ReadWriteCopyStrategy<Element> copyStrategy, ClassLoader loader)
copyOnRead
- copy on read flagcopyOnWrite
- copy on write flagcopyStrategy
- the copy strategy to useCopyright © 2003–2016 Terracotta, Inc.. All rights reserved.