Interface QueryDispatcherConnection
- All Known Implementing Classes:
QueryDispatcherConnectionImpl
public interface QueryDispatcherConnection
A connection to a remote query dispatcher.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Single-use query processor request tracking mechanism. -
Method Summary
Modifier and TypeMethodDescriptiongetQueryProcessor
(boolean addClientClassesToClassPath, List<RemoteQueryClassDefinition> classList, long timeoutMillis) getQueryProcessor
(QueryDispatcherConnection.QueryProcessorRequestHandle handle, RemoteProcessingRequest request, boolean exportQueryScope, List<RemoteQueryClassDefinition> classList, long timeoutMillis, QueryProcessorConnection.DisconnectHandler disconnectHandler, com.fishlib.net.ConnectionMonitor.Params connectionMonitorParams) getQueryProcessor
(QueryDispatcherConnection.QueryProcessorRequestHandle handle, RemoteProcessingRequest request, boolean exportQueryScope, List<RemoteQueryClassDefinition> classList, long timeoutMillis, QueryProcessorConnection.DisconnectHandler disconnectHandler, com.fishlib.net.ConnectionMonitor.Params connectionMonitorParams, io.deephaven.enterprise.auth.TokenFactoryFactory tokenAuthenticationManager) getQueryProcessor
(RemoteProcessingRequest request, List<RemoteQueryClassDefinition> classList) getQueryProcessor
(RemoteProcessingRequest request, List<RemoteQueryClassDefinition> classList, long timeoutMillis) Delegate togetQueryProcessorRequestHandle(boolean)
with combineWorkerConnectionStats=false to create a, single-use handle for use in requesting a new query processor.getQueryProcessorRequestHandle
(boolean combineWorkerConnectionStats) Create a new, single-use handle for use in requesting a new query processor.boolean
void
pushClientClasses
(List<RemoteQueryClassDefinition> classList) void
release
(boolean force) com.fishlib.base.Command
sendCommand
(com.fishlib.base.Command command)
-
Method Details
-
getDispatcherHost
String getDispatcherHost() -
pushClientClasses
- Throws:
IOException
-
sendCommand
- Throws:
IOException
-
getQueryProcessorRequestHandle
Delegate togetQueryProcessorRequestHandle(boolean)
with combineWorkerConnectionStats=false to create a, single-use handle for use in requesting a new query processor.- Returns:
- A new, single-use handle for use in requesting a new query processor.
-
getQueryProcessorRequestHandle
QueryDispatcherConnection.QueryProcessorRequestHandle getQueryProcessorRequestHandle(boolean combineWorkerConnectionStats) Create a new, single-use handle for use in requesting a new query processor.- Parameters:
combineWorkerConnectionStats
- if true, use one set of statistics items for the worker connection statistics, rather than a different set of items for each worker connection- Returns:
- A new, single-use handle for use in requesting a new query processor.
-
getQueryProcessor
QueryProcessorConnection getQueryProcessor(QueryDispatcherConnection.QueryProcessorRequestHandle handle, RemoteProcessingRequest request, boolean exportQueryScope, List<RemoteQueryClassDefinition> classList, long timeoutMillis, @Nullable QueryProcessorConnection.DisconnectHandler disconnectHandler, @Nullable com.fishlib.net.ConnectionMonitor.Params connectionMonitorParams, @NotNull io.deephaven.enterprise.auth.TokenFactoryFactory tokenAuthenticationManager) throws RemoteQueryException - Throws:
RemoteQueryException
-
getQueryProcessor
QueryProcessorConnection getQueryProcessor(QueryDispatcherConnection.QueryProcessorRequestHandle handle, RemoteProcessingRequest request, boolean exportQueryScope, List<RemoteQueryClassDefinition> classList, long timeoutMillis, @Nullable QueryProcessorConnection.DisconnectHandler disconnectHandler, @Nullable com.fishlib.net.ConnectionMonitor.Params connectionMonitorParams) throws RemoteQueryException - Throws:
RemoteQueryException
-
getQueryProcessor
QueryProcessorConnection getQueryProcessor(boolean addClientClassesToClassPath, List<RemoteQueryClassDefinition> classList, long timeoutMillis) throws RemoteQueryException - Throws:
RemoteQueryException
-
getQueryProcessor
QueryProcessorConnection getQueryProcessor(RemoteProcessingRequest request, List<RemoteQueryClassDefinition> classList, long timeoutMillis) throws RemoteQueryException - Throws:
RemoteQueryException
-
getQueryProcessor
QueryProcessorConnection getQueryProcessor(RemoteProcessingRequest request, List<RemoteQueryClassDefinition> classList) throws RemoteQueryException - Throws:
RemoteQueryException
-
isConnected
boolean isConnected() -
release
- Throws:
IOException
-