Package com.illumon.iris.controller
Class WorkerClientHeartbeatQuery
java.lang.Object
com.illumon.iris.db.tables.remotequery.ContextAwareRemoteQuery<Boolean>
com.illumon.iris.controller.WorkerClientHeartbeatQuery
- All Implemented Interfaces:
RemoteQuery<Boolean>
,Serializable
Sends a heartbeat to an InteractiveConsole script-session, which is used by the worker to determine if any clients
are actively subscribed. When the worker detects that there are no interested clients, it may choose to shut itself
down in order to give back resources to the server
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.illumon.iris.db.tables.remotequery.ContextAwareRemoteQuery
getClient, getLog, getRemoteQueryProcessor, getUserContext, initializeContext, initializeContext
-
Constructor Details
-
WorkerClientHeartbeatQuery
public WorkerClientHeartbeatQuery(int sessionId)
-
-
Method Details
-
execute
Description copied from interface:RemoteQuery
Execute a query on a remote host.- Parameters:
database
- database to use for execution.- Returns:
- result of the query.
-