public class FixedCallOptionsTransport extends BaseGrpcTransport
shutdown| Constructor and Description |
|---|
FixedCallOptionsTransport(ScheduledExecutorService scheduler,
AuthCallOptions callOptions,
String database,
EndpointRecord endpoint,
ManagedChannelFactory channelFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
AuthCallOptions |
getAuthCallOptions() |
protected GrpcChannel |
getChannel(GrpcRequestSettings settings) |
String |
getDatabase() |
ScheduledExecutorService |
getScheduler() |
readStreamCall, readWriteStreamCall, unaryCallclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforConnectionString, forEndpoint, forHost, forHostpublic FixedCallOptionsTransport(ScheduledExecutorService scheduler, AuthCallOptions callOptions, String database, EndpointRecord endpoint, ManagedChannelFactory channelFactory)
public ScheduledExecutorService getScheduler()
public String getDatabase()
public void close()
close in interface AutoCloseableclose in interface GrpcTransportclose in class BaseGrpcTransportpublic AuthCallOptions getAuthCallOptions()
protected GrpcChannel getChannel(GrpcRequestSettings settings)
getChannel in class BaseGrpcTransportCopyright © 2023. All rights reserved.