Class Operation<R,M> (2.18.1)

public class Operation<R,M>

Inheritance

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

Type Parameters

Name Description
R
M

Methods

getMetadata()

public M getMetadata()
Returns
Type Description
M

getName()

public String getName()
Returns
Type Description
String

getResult()

public R getResult()
Returns
Type Description
R
Exceptions
Type Description
SpannerException

isDone()

public boolean isDone()
Returns
Type Description
boolean

isSuccessful()

public boolean isSuccessful()
Returns
Type Description
boolean

reload()

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

waitFor(RetryOption[] arg0)

public Operation<R,M> waitFor(RetryOption[] arg0)
Parameter
Name Description
arg0 RetryOption[]
Returns
Type Description
Operation<R,M>
Exceptions
Type Description
SpannerException