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.void
release()
Close and release any connections to the worker.
-
Method Details
-
getProcessorConnection
-
getConnectionDetails
Description copied from interface:WorkerHandle
Get the current details for the worker connection.- Specified by:
getConnectionDetails
in interfaceWorkerHandle
- Returns:
- the connection details
-
release
Description copied from interface:WorkerHandle
Close and release any connections to the worker.- Specified by:
release
in interfaceWorkerHandle
- Throws:
IOException
- if an error occurred
-
initializeQuery
Description copied from interface:WorkerHandle
Initialize the query after connection has been established. Implementations must not block, and should return aFuture
from which the resulting state can be retrieved.- Specified by:
initializeQuery
in interfaceWorkerHandle
- Returns:
- the state after initialization
- Throws:
IOException
- if a communication error occurred
-