@BetaApi public class ManagedHttpJsonChannel extends Object implements HttpJsonChannel, com.google.api.gax.core.BackgroundResource
| Modifier and Type | Class and Description |
|---|---|
static class |
ManagedHttpJsonChannel.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
boolean |
isShutdown() |
<ResponseT,RequestT> |
issueFutureUnaryCall(HttpJsonCallOptions callOptions,
RequestT request,
ApiMethodDescriptor<RequestT,ResponseT> methodDescriptor) |
boolean |
isTerminated() |
static ManagedHttpJsonChannel.Builder |
newBuilder() |
void |
shutdown() |
void |
shutdownNow() |
public <ResponseT,RequestT> com.google.api.core.ApiFuture<ResponseT> issueFutureUnaryCall(HttpJsonCallOptions callOptions, RequestT request, ApiMethodDescriptor<RequestT,ResponseT> methodDescriptor)
issueFutureUnaryCall in interface HttpJsonChannelpublic void shutdown()
shutdown in interface com.google.api.gax.core.BackgroundResourcepublic boolean isShutdown()
isShutdown in interface com.google.api.gax.core.BackgroundResourcepublic boolean isTerminated()
isTerminated in interface com.google.api.gax.core.BackgroundResourcepublic void shutdownNow()
shutdownNow in interface com.google.api.gax.core.BackgroundResourcepublic boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
awaitTermination in interface com.google.api.gax.core.BackgroundResourceInterruptedExceptionpublic void close()
close in interface AutoCloseablepublic static ManagedHttpJsonChannel.Builder newBuilder()