Class PBAppendDataStateData

java.lang.Object
edu.stanford.slac.archiverappliance.plain.AppendDataStateData
edu.stanford.slac.archiverappliance.plain.pb.PBAppendDataStateData

public class PBAppendDataStateData extends AppendDataStateData
Companion class to PlainStoragePlugin that handles the appending of event streams in a partition-aware fashion. This is used both by the engine and by ETL.
Author:
mshankar
  • Field Details

    • BULK_BUFFER_INITIAL_CAPACITY

      public static final int BULK_BUFFER_INITIAL_CAPACITY
      See Also:
  • Constructor Details

    • PBAppendDataStateData

      public PBAppendDataStateData(PartitionGranularity partitionGranularity, String rootFolder, String desc, Instant lastKnownTimestamp, PBCompressionMode compressionMode, PVNameToKeyMapping pv2key, PathResolver pathResolver)
      Parameters:
      partitionGranularity - partitionGranularity of the PB plugin.
      rootFolder - RootFolder of the PB plugin
      desc - Desc for logging purposes
      lastKnownTimestamp - This is probably the most important argument here. This is the last known timestamp in this storage. If null, we assume time(0) for the last known timestamp.
      compressionMode - CompressionMode
      pv2key - PVNameToKeyMapping
  • Method Details