Class TrackModelUpdates

java.lang.Object
io.fluxzero.common.api.Request
io.fluxzero.common.api.modeling.TrackModelUpdates
All Implemented Interfaces:
JsonType

public class TrackModelUpdates extends Request
Long-polls committed independent-model updates after a client-controlled state cursor.

The runtime may retain the request for maxWaitMillis while no newer commit substep is visible. Empty responses are heartbeats and leave the supplied cursor unchanged.

  • Constructor Details

    • TrackModelUpdates

      public TrackModelUpdates(long lastStateIndex, int maxSize, long maxWaitMillis)
      Creates a bounded model-update long poll.
    • TrackModelUpdates

      @ConstructorProperties({"lastStateIndex","maxSize","maxWaitMillis","maxBytes"}) public TrackModelUpdates(long lastStateIndex, int maxSize, long maxWaitMillis, long maxBytes)
      Creates a bounded model-update long poll with an explicit response metadata-byte limit.