Interface WatchResult<T>
public interface WatchResult<T>
-
Method Details
-
prevResult
-
nextResult
T nextResult()The next result of the operation. This will be null if the operation failed.- Returns:
- the next result or null if the operation failed.
-
cause
Throwable cause()A Throwable describing failure. This will be null if the operation succeeded.- Returns:
- the cause or null if the operation succeeded.
-
succeeded
boolean succeeded()Did it succeed?- Returns:
- true if it succeded or false otherwise
-
failed
boolean failed()Did it fail?- Returns:
- true if it failed or false otherwise
-