Class TimeoutTracker


  • public class TimeoutTracker
    extends Object
    • Constructor Detail

      • TimeoutTracker

        public TimeoutTracker​(Duration timeout,
                              boolean startTrackingTimeout)
        Parameters:
        timeout - original operationTimeout
        startTrackingTimeout - whether/not to start the timeout tracking - right now. if not started now, timer tracking will start upon the first call to elapsed()/remaining()
      • TimeoutTracker

        public TimeoutTracker​(Duration timeout,
                              boolean startTrackingTimeout,
                              String context)