Class TimeoutReporter

java.lang.Object
org.flasby.util.TimeoutReporter

public class TimeoutReporter extends Object
used to drive reports of timeouts. Calling tick() returns if you should log a message. The logging backs off so that reports don't spam the logs.
Author:
steve
  • Constructor Details

    • TimeoutReporter

      public TimeoutReporter()
  • Method Details

    • tick

      public boolean tick()
    • reset

      public void reset()
    • setResetTime

      public void setResetTime(long time)
    • getDelta

      public long getDelta()
    • getLastResetTime

      public long getLastResetTime()