Class HttpJsonOperationSnapshotCallable (2.63.1)

public class HttpJsonOperationSnapshotCallable,OperationT> extends UnaryCallable,OperationSnapshot>

A UnaryCallable that wraps a UnaryCallable returning an Operation and returns an OperationSnapshot instead.

Public for technical reasons. For internal use only.

Inheritance

java.lang.Object > UnaryCallable > HttpJsonOperationSnapshotCallable

Type Parameters

Name Description
RequestT
OperationT

Constructors

HttpJsonOperationSnapshotCallable(UnaryCallable innerCallable, OperationSnapshotFactory operationSnapshotFactory)

public HttpJsonOperationSnapshotCallable(UnaryCallable,OperationT> innerCallable, OperationSnapshotFactory,OperationT> operationSnapshotFactory)
Parameters
Name Description
innerCallable UnaryCallable<RequestT,OperationT>
operationSnapshotFactory OperationSnapshotFactory<RequestT,OperationT>

Methods

futureCall(RequestT request, ApiCallContext context)

public ApiFuture futureCall(RequestT request, ApiCallContext context)

Perform a call asynchronously.

Parameters
Name Description
request RequestT
context ApiCallContext
Returns
Type Description
ApiFuture<OperationSnapshot>
Overrides