Class AppendEvents.Metric

java.lang.Object
io.fluxzero.common.api.eventsourcing.AppendEvents.Metric
Enclosing class:
AppendEvents

public static class AppendEvents.Metric extends Object
Compact metric representation of an AppendEvents command.
  • Constructor Details

    • Metric

      public Metric()
  • Method Details

    • getSize

      public int getSize()
      The size of the metric, representing the number of events within all batches.
    • getBytes

      public long getBytes()
      The total number of bytes in the data across all messages within all batches.