org.terracotta.cache.serialization
Class SerializedEntryApplicator
java.lang.Object
com.tc.object.applicator.BaseApplicator
org.terracotta.cache.serialization.SerializedEntryApplicator
- All Implemented Interfaces:
- com.tc.object.applicator.ChangeApplicator
- Direct Known Subclasses:
- CustomLifespanSerializedEntryApplicator
public class SerializedEntryApplicator
- extends com.tc.object.applicator.BaseApplicator
| Fields inherited from class com.tc.object.applicator.BaseApplicator |
encoding |
|
Method Summary |
void |
dehydrate(com.tc.object.ClientObjectManager objMgr,
com.tc.object.TCObject tco,
com.tc.object.dna.api.DNAWriter writer,
Object pojo)
|
protected static Object |
get(Map<String,Object> values,
String field)
|
Object |
getNewInstance(com.tc.object.ClientObjectManager objMgr,
com.tc.object.dna.api.DNA dna)
|
com.tc.object.TraversedReferences |
getPortableObjects(Object pojo,
com.tc.object.TraversedReferences addTo)
|
void |
hydrate(com.tc.object.ClientObjectManager objMgr,
com.tc.object.TCObject tco,
com.tc.object.dna.api.DNA dna,
Object pojo)
|
| Methods inherited from class com.tc.object.applicator.BaseApplicator |
getDehydratableObject, isLiteralInstance, isPortableReference |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERIALIZED_ENTRY
public static final String SERIALIZED_ENTRY
- See Also:
- Constant Field Values
ABSTRACT_TIMESTAMPED_VALUE
public static final String ABSTRACT_TIMESTAMPED_VALUE
- See Also:
- Constant Field Values
SerializedEntryApplicator
public SerializedEntryApplicator(com.tc.object.dna.api.DNAEncoding encoding)
dehydrate
public void dehydrate(com.tc.object.ClientObjectManager objMgr,
com.tc.object.TCObject tco,
com.tc.object.dna.api.DNAWriter writer,
Object pojo)
get
protected static Object get(Map<String,Object> values,
String field)
getNewInstance
public Object getNewInstance(com.tc.object.ClientObjectManager objMgr,
com.tc.object.dna.api.DNA dna)
getPortableObjects
public com.tc.object.TraversedReferences getPortableObjects(Object pojo,
com.tc.object.TraversedReferences addTo)
hydrate
public void hydrate(com.tc.object.ClientObjectManager objMgr,
com.tc.object.TCObject tco,
com.tc.object.dna.api.DNA dna,
Object pojo)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
Copyright © 2010 Terracotta, Inc.. All Rights Reserved.