@NotThreadSafe public abstract class AbstractTimedCondition extends AbstractTimedQuery<Boolean> implements TimedCondition, ClockAware
AbstractTimedQuery. Override
AbstractTimedQuery.currentValue() to complete implementation.defaultTimeout, intervalDEFAULT_INTERVAL| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTimedCondition(Clock clock,
long defTimeout,
long interval) |
protected |
AbstractTimedCondition(long defTimeout,
long interval) |
protected |
AbstractTimedCondition(PollingQuery other) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
shouldReturn(Boolean currentEval)
If the current evaluated query value should be returned.
|
by, by, byDefaultTimeout, clock, currentValue, expirationHandler, now, resetLastRun, toStringdefaultTimeout, intervalclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitby, by, byDefaultTimeout, nowdefaultTimeout, intervalclockprotected AbstractTimedCondition(Clock clock, long defTimeout, long interval)
protected AbstractTimedCondition(long defTimeout,
long interval)
protected AbstractTimedCondition(PollingQuery other)
protected final boolean shouldReturn(Boolean currentEval)
AbstractTimedQueryshouldReturn in class AbstractTimedQuery<Boolean>currentEval - current query evaluation
expirestrue, if the current query evaluation should be returned as a result of this timed queryCopyright © 2015 Atlassian. All rights reserved.