Class Operation<R,M> (2.16.1)

public class Operation<R,M>

Inheritance

java.lang.Object > Operation<R,M>

Type Parameters

NameDescription
R
M

Methods

getMetadata()

public M getMetadata()
Returns
TypeDescription
M

getName()

public String getName()
Returns
TypeDescription
String

getResult()

public R getResult()
Returns
TypeDescription
R
Exceptions
TypeDescription
SpannerException

isDone()

public boolean isDone()
Returns
TypeDescription
boolean

isSuccessful()

public boolean isSuccessful()
Returns
TypeDescription
boolean

reload()

public Operation<R,M> reload()
Returns
TypeDescription
Operation<R,M>
Exceptions
TypeDescription
SpannerException

waitFor(RetryOption[] arg0)

public Operation<R,M> waitFor(RetryOption[] arg0)
Parameter
NameDescription
arg0RetryOption[]
Returns
TypeDescription
Operation<R,M>
Exceptions
TypeDescription
SpannerException