@Test public void checkTimeout() { ExponentialBackoffTimeoutStrategy helper = new ExponentialBackoffTimeoutStrategy( 5_000L, 1000L, 3000L ); checkTimeout(helper, 5_000L); }
@Override public boolean checkTimeout(long timeInFut) { return remainingTime(System.nanoTime() + U.millisToNanos(timeInFut)) <= 0; }
ExponentialBackoffTimeoutStrategy implements TimeoutStrategy { @Override public boolean checkTimeout(long timeInFut) { return remainingTime(System.nanoTime() + U.millisToNanos(timeInFut)) <= 0; } }
ExponentialBackoffTimeoutStrategy implements TimeoutStrategy { @Override public boolean checkTimeout(long timeInFut) { return remainingTime(System.nanoTime() + U.millisToNanos(timeInFut)) <= 0; } ExponentialBackoffTimeoutStrategy(
        long totalTimeout,
        long startTimeout,
        long maxTimeout
    ); }
ExponentialBackoffTimeoutStrategy implements TimeoutStrategy { @Override public boolean checkTimeout(long timeInFut) { return remainingTime(System.nanoTime() + U.millisToNanos(timeInFut)) <= 0; } ExponentialBackoffTimeoutStrategy(
        long totalTimeout,
        long startTimeout,
        long maxTimeout
    ); static long totalBackoffTimeout(
            long initTimeout,
            long maxTimeout,
            long reconCnt
    ); static long backoffTimeout(long timeout, long maxTimeout); @Override long nextTimeout(long timeout); @Override boolean checkTimeout(long timeInFut); @Override String toString(); }
ExponentialBackoffTimeoutStrategy implements TimeoutStrategy { @Override public boolean checkTimeout(long timeInFut) { return remainingTime(System.nanoTime() + U.millisToNanos(timeInFut)) <= 0; } ExponentialBackoffTimeoutStrategy(
        long totalTimeout,
        long startTimeout,
        long maxTimeout
    ); static long totalBackoffTimeout(
            long initTimeout,
            long maxTimeout,
            long reconCnt
    ); static long backoffTimeout(long timeout, long maxTimeout); @Override long nextTimeout(long timeout); @Override boolean checkTimeout(long timeInFut); @Override String toString();  }