@Override protected void waitCondition() throws InterruptedException { if (lastInvocation!=null) times.sleepPast(lastInvocation.plus(CLEAN_SLEEP_TIME)); }
private void sleepAndConvertInterrupts(Duration d) throws BackendException { try { times.sleepPast(times.getTime().plus(d)); } catch (InterruptedException e) { throw new PermanentBackendException(e); } }
times.sleepPast(times.getTime().plus(SLEEP_INTERVAL)); } catch (InterruptedException e) { log.error("Interrupted eviction ack thread for "+getId(),e);
final Instant now = times.sleepPast(ls.getWriteTimestamp().plus(lockWait));
assert mustPass.getDeletionTime(times) < mustPass.getAdditionTime(times); try { times.sleepPast(mustPass.getAdditionTimeInstant(times)); } catch (InterruptedException e) { throw new PermanentBackendException("Unexpected interrupt", e);
@Override public Timepoint sleepPast() throws InterruptedException { return provider.sleepPast(this); }
@Override protected void waitCondition() throws InterruptedException { if (lastInvocation!=null) times.sleepPast(lastInvocation.plus(CLEAN_SLEEP_TIME)); }
@Override protected void waitCondition() throws InterruptedException { if (lastInvocation!=null) times.sleepPast(lastInvocation.add(CLEAN_SLEEP_TIME)); }
private void sleepAndConvertInterrupts(Duration d) throws BackendException { try { times.sleepPast(times.getTime().plus(d)); } catch (InterruptedException e) { throw new PermanentBackendException(e); } }
private void sleepAndConvertInterrupts(Duration d) throws BackendException { try { times.sleepPast(times.getTime().add(d)); } catch (InterruptedException e) { throw new PermanentBackendException(e); } }
times.sleepPast(times.getTime().plus(SLEEP_INTERVAL)); } catch (InterruptedException e) { log.error("Interrupted eviction ack thread for "+getId(),e);
times.sleepPast(times.getTime().add(SLEEP_INTERVAL)); } catch (InterruptedException e) { log.error("Interrupted eviction ack thread for "+getId(),e);
final Instant now = times.sleepPast(ls.getWriteTimestamp().plus(lockWait));
assert mustPass.getDeletionTime(times) < mustPass.getAdditionTime(times); try { times.sleepPast(mustPass.getAdditionTimeInstant(times)); } catch (InterruptedException e) { throw new PermanentBackendException("Unexpected interrupt", e);
final Timepoint now = times.sleepPast(ls.getWriteTimestamp().add(lockWait));
assert mustPass.getDeletionTime(times.getUnit()) < mustPass.getAdditionTime(times.getUnit()); try { times.sleepPast(mustPass.getAdditionTime()); } catch (InterruptedException e) { throw new PermanentBackendException("Unexpected interrupt", e);