Class QueryHandleContext
java.lang.Object
com.illumon.iris.controller.handle.QueryHandleContext
This class is a context object that contains all of the state that might be needed for the creation of a
PersistentQueryHandle
. PersistentQueryHandle
objects are created reflexively by the
WorkerKind.createPersistentQueryHandle(Logger, Object)
method when the
PersistentQueryController
starts a query.
-
Constructor Summary
ConstructorsConstructorDescriptionQueryHandleContext
(ControllerConfigurationType configurationType, PersistentQueryConfiguration config, int priority, String lastAuthenticatedUser, String lastEffectiveUser, ScriptPathLoader loader, PersistentQueryDbServerConfig actualDbServerConfig, ControllerDispatcherHandler dispatcherHandler, ThreadPoolExecutor executor, com.fishlib.net.ConnectionMonitor.Params connectionMonitorParams, PublicPrivateKeyEncryption encryption, Consumer<QueryDispatcherConnection> dispatcherConnectionConsumer, Consumer<PersistentQueryState> stateChangedCallback, Consumer<PersistentQueryConfiguration> queryFailureCallback) -
Method Summary
Modifier and TypeMethodDescriptioncom.fishlib.net.ConnectionMonitor.Params
int
-
Constructor Details
-
QueryHandleContext
public QueryHandleContext(ControllerConfigurationType configurationType, PersistentQueryConfiguration config, int priority, String lastAuthenticatedUser, String lastEffectiveUser, ScriptPathLoader loader, PersistentQueryDbServerConfig actualDbServerConfig, ControllerDispatcherHandler dispatcherHandler, ThreadPoolExecutor executor, com.fishlib.net.ConnectionMonitor.Params connectionMonitorParams, PublicPrivateKeyEncryption encryption, Consumer<QueryDispatcherConnection> dispatcherConnectionConsumer, Consumer<PersistentQueryState> stateChangedCallback, Consumer<PersistentQueryConfiguration> queryFailureCallback)
-
-
Method Details
-
getConfigurationType
-
getConfig
-
getLastAuthenticatedUser
-
getLastEffectiveUser
-
getLoader
-
getDbServerConfig
-
getDispatcherHandler
-
getDispatcherConnectionConsumer
-
getStateChangedCallback
-
getQueryFailureCallback
-
getPriority
public int getPriority() -
getExecutor
-
getConnectionMonitorParams
public com.fishlib.net.ConnectionMonitor.Params getConnectionMonitorParams() -
getEncryption
-