public class SuspendUntilCorrespondingNodeFoundConnectRouting extends BaseConnectRouting
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
bgdId |
hostAndPort, roleSLEEP_CHUNK| Constructor and Description |
|---|
SuspendUntilCorrespondingNodeFoundConnectRouting(@Nullable java.lang.String hostAndPort,
@Nullable BlueGreenRole role,
java.lang.String bgdId) |
| 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 SuspendUntilCorrespondingNodeFoundConnectRouting(@Nullable java.lang.String hostAndPort,
@Nullable BlueGreenRole role,
java.lang.String bgdId)
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