Class EnterpriseWorkerHandle
java.lang.Object
com.illumon.iris.controller.handle.EnterpriseWorkerHandle
- All Implemented Interfaces:
WorkerHandle
The
WorkerHandle implementation for commiunicating with legacy workers.-
Method Summary
Modifier and TypeMethodDescriptionGet the current details for the worker connection.Initialize the query after connection has been established.voidrelease()Close and release any connections to the worker.
-
Method Details
-
getProcessorConnection
-
getConnectionDetails
Description copied from interface:WorkerHandleGet the current details for the worker connection.- Specified by:
getConnectionDetailsin interfaceWorkerHandle- Returns:
- the connection details
-
release
Description copied from interface:WorkerHandleClose and release any connections to the worker.- Specified by:
releasein interfaceWorkerHandle- Throws:
IOException- if an error occurred
-
initializeQuery
Description copied from interface:WorkerHandleInitialize the query after connection has been established. Implementations must not block, and should return aFuturefrom which the resulting state can be retrieved.- Specified by:
initializeQueryin interfaceWorkerHandle- Returns:
- the state after initialization
- Throws:
IOException- if a communication error occurred
-