Class TimestampParameterResolver

java.lang.Object
io.fluxzero.sdk.tracking.handling.TimestampParameterResolver

public class TimestampParameterResolver extends Object
Resolves Instant and Clock parameters for message‑handling methods.

When a handler method declares an Instant parameter, the resolver injects the timestamp of the current message if available. Otherwise, it supplies the current time via Fluxzero.currentTime().

For a Clock parameter, it provides a clock fixed at that timestamp if the handler method is annotated with Apply; otherwise it supplies the clock of Fluxzero if available or else the system UTC clock.

See Also:
  • ParameterResolver
  • Constructor Details

    • TimestampParameterResolver

      public TimestampParameterResolver()
  • Method Details