public class PassThroughConnectRouting extends BaseConnectRouting
hostAndPort, roleSLEEP_CHUNK| Constructor and Description |
|---|
PassThroughConnectRouting(@Nullable java.lang.String hostAndPort,
@Nullable BlueGreenRole role) |
| Modifier and Type | Method and Description |
|---|---|
java.sql.Connection |
apply(ConnectionPlugin plugin,
HostSpec hostSpec,
java.util.Properties props,
boolean isInitialConnection,
JdbcCallable<java.sql.Connection,java.sql.SQLException> connectFunc,
StorageService storageService,
PluginService pluginService) |
isMatch, toStringdelay, getNanoTimepublic PassThroughConnectRouting(@Nullable java.lang.String hostAndPort,
@Nullable BlueGreenRole role)
public java.sql.Connection apply(ConnectionPlugin plugin, HostSpec hostSpec, java.util.Properties props, boolean isInitialConnection, JdbcCallable<java.sql.Connection,java.sql.SQLException> connectFunc, StorageService storageService, PluginService pluginService) throws java.sql.SQLException
apply in interface ConnectRoutingapply in class BaseConnectRoutingjava.sql.SQLException