Class ModelEventPayloadBlock

java.lang.Object
io.fluxzero.common.api.modeling.ModelEventPayloadBlock

public class ModelEventPayloadBlock extends Object
One persisted global-event block transported without runtime-side decompression or re-encoding.

firstIndex is the index of the first message and the fallback for messages without an embedded index. Persisted storage blocks contain consecutive messages and may include unselected neighbors; a packed selection may contain only selected messages with their global indices embedded in the messages themselves.

  • Constructor Details

    • ModelEventPayloadBlock

      @ConstructorProperties({"firstIndex","messageCount","compressed","data"}) public ModelEventPayloadBlock(long firstIndex, int messageCount, boolean compressed, byte[] data)