PollResult<T> Class

Definition

Type representing result (succeeded or failed result) of a long-running-poll operation.

public final class PollResult<T>

Type Parameters

T
Inheritance
java.lang.Object
PollResult<T>

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

PollResult(T value)

Creates PollResult.

PollResult(PollResult.Error error)

Creates PollResult.

Methods

getError()

Get the error description when poll-operation receives error from service.

getValue()

Get the service returned value when poll-operation succeeded.

Applies to