Class FixedTimestampStretegy

  • All Implemented Interfaces:
    TimestampStrategy

    public class FixedTimestampStretegy
    extends Object
    implements TimestampStrategy
    Strategy that always provides the same timestamp. This strategy is useful for tests only.
    • Constructor Detail

      • FixedTimestampStretegy

        public FixedTimestampStretegy​(long timestamp)
      • FixedTimestampStretegy

        public FixedTimestampStretegy​(Instant instant)