Package com.google.api.gax.httpjson
Class HttpJsonOperationSnapshotCallable<RequestT,OperationT>
- java.lang.Object
-
- com.google.api.gax.rpc.UnaryCallable<RequestT,OperationSnapshot>
-
- com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable<RequestT,OperationT>
-
@BetaApi @InternalApi public class HttpJsonOperationSnapshotCallable<RequestT,OperationT> extends UnaryCallable<RequestT,OperationSnapshot>
AUnaryCallablethat wraps a UnaryCallable returning an Operation and returns an OperationSnapshot instead.Public for technical reasons. For internal use only.
-
-
Constructor Summary
Constructors Constructor Description HttpJsonOperationSnapshotCallable(UnaryCallable<RequestT,OperationT> innerCallable, OperationSnapshotFactory<RequestT,OperationT> operationSnapshotFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiFuture<OperationSnapshot>futureCall(RequestT request, ApiCallContext context)-
Methods inherited from class com.google.api.gax.rpc.UnaryCallable
call, call, futureCall, withDefaultCallContext
-
-
-
-
Constructor Detail
-
HttpJsonOperationSnapshotCallable
public HttpJsonOperationSnapshotCallable(UnaryCallable<RequestT,OperationT> innerCallable, OperationSnapshotFactory<RequestT,OperationT> operationSnapshotFactory)
-
-
Method Detail
-
futureCall
public ApiFuture<OperationSnapshot> futureCall(RequestT request, ApiCallContext context)
- Specified by:
futureCallin classUnaryCallable<RequestT,OperationSnapshot>
-
-