Class BinaryCasSerDes6.ReuseInfo

java.lang.Object
org.apache.uima.cas.impl.BinaryCasSerDes6.ReuseInfo
Enclosing class:
BinaryCasSerDes6

public static class BinaryCasSerDes6.ReuseInfo extends Object
Info reused for 1) multiple serializations of same cas to multiple targets (a speedup), or 2) for delta cas serialization, where it represents the fsStartIndex info before any mods were done which could change that info, or 3) for deserializing with a delta cas, where it represents the fsStartIndex info at the time the CAS was serialized out.. Reachable FSs and Sequence maps
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final BitSet
    kept to avoid recomputation in the use case: - serialize to target 1, serialize same to target 2, etc.
    private final int[]
     
    private final CasSeqAddrMaps
    Multiple uses: a) avoid recomputation when multiple serializations of same CAS to multiple targets b) remembers required mapping for processing delta cas serializations and deserializations conversion of tgt seq # to src addr
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    ReuseInfo(BitSet foundFSs, int[] foundFSsArray, CasSeqAddrMaps fsStartIndexes)
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • foundFSs

      private final BitSet foundFSs
      kept to avoid recomputation in the use case: - serialize to target 1, serialize same to target 2, etc. - Delta serialization (uses reuse info saved during initial deserialization) - Delta deserialization if Null, recomputed when needed BitSet used to test if fsRef needs to be serialized
    • foundFSsArray

      private final int[] foundFSsArray
    • fsStartIndexes

      private final CasSeqAddrMaps fsStartIndexes
      Multiple uses: a) avoid recomputation when multiple serializations of same CAS to multiple targets b) remembers required mapping for processing delta cas serializations and deserializations conversion of tgt seq # to src addr
  • Constructor Details

    • ReuseInfo

      private ReuseInfo(BitSet foundFSs, int[] foundFSsArray, CasSeqAddrMaps fsStartIndexes)