public class LimitlessQueryHelper
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_QUERY_TIMEOUT_MS |
protected static java.util.logging.Logger |
LOGGER |
protected static java.util.concurrent.Executor |
networkTimeoutExecutor |
protected @NonNull PluginService |
pluginService |
| Constructor and Description |
|---|
LimitlessQueryHelper(@NonNull PluginService pluginService) |
| Modifier and Type | Method and Description |
|---|---|
protected HostSpec |
createHost(java.sql.ResultSet resultSet,
int hostPortToMap) |
protected java.util.List<HostSpec> |
mapResultSetToHostSpecList(java.sql.ResultSet resultSet,
int hostPortToMap) |
java.util.List<HostSpec> |
queryForLimitlessRouters(java.sql.Connection conn,
int hostPortToMap) |
protected final @NonNull PluginService pluginService
protected static final java.util.logging.Logger LOGGER
protected static final java.util.concurrent.Executor networkTimeoutExecutor
protected static final int DEFAULT_QUERY_TIMEOUT_MS
public LimitlessQueryHelper(@NonNull PluginService pluginService)
public java.util.List<HostSpec> queryForLimitlessRouters(java.sql.Connection conn, int hostPortToMap) throws java.sql.SQLException
java.sql.SQLExceptionprotected java.util.List<HostSpec> mapResultSetToHostSpecList(java.sql.ResultSet resultSet, int hostPortToMap) throws java.sql.SQLException
java.sql.SQLExceptionprotected HostSpec createHost(java.sql.ResultSet resultSet, int hostPortToMap) throws java.sql.SQLException
java.sql.SQLException