Class HttpJsonOperationSnapshotCallable<RequestT,OperationT> (2.41.0)

publicclass HttpJsonOperationSnapshotCallable<RequestT,OperationT>extendsUnaryCallable<RequestT,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<RequestT,OperationT>

Type Parameters

Name Description
RequestT
OperationT

Constructors

HttpJsonOperationSnapshotCallable(UnaryCallable<RequestT,OperationT> innerCallable, OperationSnapshotFactory<RequestT,OperationT> operationSnapshotFactory)

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

Methods

futureCall(RequestT request, ApiCallContext context)

publicApiFuture<OperationSnapshot>futureCall(RequestTrequest,ApiCallContextcontext)

Perform a call asynchronously.

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.