public class CASSerializer extends Object implements Serializable
CASMgrSerializer, 
Serialized Form| Modifier and Type | Field and Description | 
|---|---|
| byte[] | byteHeapArray | 
| int[] | fsIndex | 
| int[] | heapArray | 
| int[] | heapMetaData | 
| long[] | longHeapArray | 
| short[] | shortHeapArray | 
| String[] | stringTable | 
| Constructor and Description | 
|---|
| CASSerializer()Constructor for CASSerializer. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addCAS(CASImpl cas)Add the CAS to be serialized. | 
| void | addCAS(CASImpl cas,
      boolean addMetaData)Add the CAS to be serialized. | 
| void | addCAS(CASImpl cas,
      OutputStream ostream)Serializes the CAS data and writes it to the output stream. | 
| void | addCAS(CASImpl cas,
      OutputStream ostream,
      boolean includeTsi) | 
| void | addCAS(CASImpl cas,
      OutputStream ostream,
      Marker trackingMark)Serializes only new and modified FS and index operations made after the tracking mark is
 created. | 
| void | addNoMetaData(CASImpl casImpl)Serialize CAS data without heap-internal meta data. | 
public int[] heapArray
public int[] heapMetaData
public String[] stringTable
public int[] fsIndex
public byte[] byteHeapArray
public short[] shortHeapArray
public long[] longHeapArray
public void addNoMetaData(CASImpl casImpl)
casImpl - The CAS to be serialized.public void addCAS(CASImpl cas)
cas - The CAS to be serialized.public void addCAS(CASImpl cas, boolean addMetaData)
cas - The CAS to be serialized.addMetaData - - true to include metadatapublic void addCAS(CASImpl cas, OutputStream ostream)
cas - The CAS to be serialized. ostream The output stream.ostream - -public void addCAS(CASImpl cas, OutputStream ostream, boolean includeTsi)
public void addCAS(CASImpl cas, OutputStream ostream, Marker trackingMark)
cas - -ostream - -trackingMark - -Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.