Package com.google.api.gax.httpjson
Class HttpJsonLongRunningClient<RequestT,OperationT>
- java.lang.Object
-
- com.google.api.gax.httpjson.HttpJsonLongRunningClient<RequestT,OperationT>
-
- All Implemented Interfaces:
LongRunningClient
@InternalApi public class HttpJsonLongRunningClient<RequestT,OperationT> extends Object implements LongRunningClient
Implementation of LongRunningClient based on REST transport.Public for technical reasons. For internal use only.
-
-
Constructor Summary
Constructors Constructor Description HttpJsonLongRunningClient(UnaryCallable<RequestT,OperationT> operationCallable, OperationSnapshotFactory<RequestT,OperationT> operationSnapshotFactory, PollingRequestFactory<RequestT> pollingRequestFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnaryCallable<String,Void>cancelOperationCallable()UnaryCallable<String,Void>deleteOperationCallable()UnaryCallable<String,OperationSnapshot>getOperationCallable()
-
-
-
Constructor Detail
-
HttpJsonLongRunningClient
public HttpJsonLongRunningClient(UnaryCallable<RequestT,OperationT> operationCallable, OperationSnapshotFactory<RequestT,OperationT> operationSnapshotFactory, PollingRequestFactory<RequestT> pollingRequestFactory)
-
-
Method Detail
-
getOperationCallable
public UnaryCallable<String,OperationSnapshot> getOperationCallable()
- Specified by:
getOperationCallablein interfaceLongRunningClient
-
cancelOperationCallable
public UnaryCallable<String,Void> cancelOperationCallable()
- Specified by:
cancelOperationCallablein interfaceLongRunningClient
-
deleteOperationCallable
public UnaryCallable<String,Void> deleteOperationCallable()
- Specified by:
deleteOperationCallablein interfaceLongRunningClient
-
-