Class AppendEvents.Metric
java.lang.Object
io.fluxzero.common.api.eventsourcing.AppendEvents.Metric
- Enclosing class:
AppendEvents
Compact metric representation of an
AppendEvents command.-
Constructor Summary
Constructors -
Method Summary
-
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.
-