public static class AgentClient.Builder extends Object
| Constructor and Description |
|---|
Builder(io.grpc.ManagedChannel managedChannel) |
Builder(String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
AgentClient |
build() |
AgentClient.Builder |
disableAutoShutdown() |
AgentClient.Builder |
disableChannelKeepAliveWithoutCalls() |
AgentClient.Builder |
withChannelKeepAliveTimeMS(long channelKeepAliveTimeMS) |
AgentClient.Builder |
withChannelKeepAliveTimeoutMS(long channelKeepAliveTimeoutMS) |
AgentClient.Builder |
withChannelShutdownTimeoutMS(long channelShutdownTimeoutMS) |
AgentClient.Builder |
withObserver(io.grpc.stub.StreamObserver<DispatchResult> observer) |
AgentClient.Builder |
withThreadPoolShutdownWaitInSec(int threadPoolShutdownWaitInSec) |
AgentClient.Builder |
withThreadPoolSize(int threadPoolSize) |
public Builder(io.grpc.ManagedChannel managedChannel)
public Builder(String host, int port)
public AgentClient.Builder withObserver(io.grpc.stub.StreamObserver<DispatchResult> observer)
public AgentClient.Builder withChannelShutdownTimeoutMS(long channelShutdownTimeoutMS)
public AgentClient.Builder withChannelKeepAliveTimeMS(long channelKeepAliveTimeMS)
public AgentClient.Builder withChannelKeepAliveTimeoutMS(long channelKeepAliveTimeoutMS)
public AgentClient.Builder disableChannelKeepAliveWithoutCalls()
public AgentClient.Builder withThreadPoolSize(int threadPoolSize)
public AgentClient.Builder withThreadPoolShutdownWaitInSec(int threadPoolShutdownWaitInSec)
public AgentClient.Builder disableAutoShutdown()
public AgentClient build()
Copyright © 2020. All rights reserved.