Package com.illumon.iris.db.util
Class ProgressCommandHandler
java.lang.Object
com.illumon.iris.db.util.ProgressCommandHandler
- All Implemented Interfaces:
QueryProcessorConnection.QueryProcessorConnectionCommandHandler
public class ProgressCommandHandler
extends Object
implements QueryProcessorConnection.QueryProcessorConnectionCommandHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleClientDeath
(io.deephaven.enterprise.comm.api.ClientEntry clientEntry) Called when a client dies.boolean
handleQueryProcessorCommand
(io.deephaven.enterprise.comm.api.ClientEntry clientEntry, com.fishlib.base.Command command) Handles a command from the remote query processor that the query processor connection itself does not know how to handle.
-
Field Details
-
CONTROLLER_PROGRESS_SESSION
public static final long CONTROLLER_PROGRESS_SESSION- See Also:
-
-
Constructor Details
-
ProgressCommandHandler
-
-
Method Details
-
handleQueryProcessorCommand
public boolean handleQueryProcessorCommand(io.deephaven.enterprise.comm.api.ClientEntry clientEntry, com.fishlib.base.Command command) Description copied from interface:QueryProcessorConnection.QueryProcessorConnectionCommandHandler
Handles a command from the remote query processor that the query processor connection itself does not know how to handle. If true is returned, then no other attached QueryProcessorConnectionCommandHandler has an opportunity to examine the command. If false is returned, the next attached QueryProcessorConnectionCommandHandler is given an opportunity to service this command.- Specified by:
handleQueryProcessorCommand
in interfaceQueryProcessorConnection.QueryProcessorConnectionCommandHandler
- Parameters:
clientEntry
- the client entry for the remote query processorcommand
- the command that was sent by the remote query processor- Returns:
- true if the command was handled, false otherwise
-
handleClientDeath
public void handleClientDeath(io.deephaven.enterprise.comm.api.ClientEntry clientEntry) Description copied from interface:QueryProcessorConnection.QueryProcessorConnectionCommandHandler
Called when a client dies.- Specified by:
handleClientDeath
in interfaceQueryProcessorConnection.QueryProcessorConnectionCommandHandler
- Parameters:
clientEntry
- the clientEntry that died.
-