public class SuspendExecuteRouting extends BaseExecuteRouting
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
bgdId |
protected static java.lang.String |
TELEMETRY_SWITCHOVER |
hostAndPort, roleSLEEP_CHUNK| Constructor and Description |
|---|
SuspendExecuteRouting(@Nullable java.lang.String hostAndPort,
@Nullable BlueGreenRole role,
java.lang.String bgdId) |
| Modifier and Type | Method and Description |
|---|---|
<T,E extends java.lang.Exception> |
apply(ConnectionPlugin plugin,
java.lang.Class<T> resultClass,
java.lang.Class<E> exceptionClass,
java.lang.Object methodInvokeOn,
java.lang.String methodName,
JdbcCallable<T,E> jdbcMethodFunc,
java.lang.Object[] jdbcMethodArgs,
StorageService storageService,
PluginService pluginService,
java.util.Properties props) |
isMatch, toStringdelay, getNanoTimeprotected static final java.lang.String TELEMETRY_SWITCHOVER
protected java.lang.String bgdId
public SuspendExecuteRouting(@Nullable java.lang.String hostAndPort,
@Nullable BlueGreenRole role,
java.lang.String bgdId)
public <T,E extends java.lang.Exception> @NonNull java.util.Optional<T> apply(ConnectionPlugin plugin, java.lang.Class<T> resultClass, java.lang.Class<E> exceptionClass, java.lang.Object methodInvokeOn, java.lang.String methodName, JdbcCallable<T,E> jdbcMethodFunc, java.lang.Object[] jdbcMethodArgs, StorageService storageService, PluginService pluginService, java.util.Properties props) throws E extends java.lang.Exception
apply in interface ExecuteRoutingapply in class BaseExecuteRoutingE extends java.lang.Exception