ResolveAnchorOnRooftopFuture

public class ResolveAnchorOnRooftopFuture

Public Methods

boolean
cancel()
Tries to cancel the execution of this operation.
Anchor
Anchor.RooftopAnchorState
getResultRooftopAnchorState()
Returns the result status of the resolving operation, when Future.getState() returns FutureState.DONE.
FutureState
getState()
Get the current state of the future.

Inherited Methods

Public Methods

cancel

public boolean cancel()

Tries to cancel the execution of this operation. If the operation was cancelled by this invocation, this method returns true and the associated callback (if any) will never be invoked.

getResultAnchor

public Anchor getResultAnchor()

Returns the resolved anchor, when Future.getState() returns FutureState.DONE and getResultRooftopAnchorState() returns Anchor.RooftopAnchorState.SUCCESS. Otherwise, returns null.

getResultRooftopAnchorState

public Anchor.RooftopAnchorState getResultRooftopAnchorState()

Returns the result status of the resolving operation, when Future.getState() returns FutureState.DONE.

getState

public FutureState getState()

Get the current state of the future.