Interface WorkerKind
- All Known Implementing Classes:
EnterpriseWorkerKind
,GenericCommandWorkerKind
public interface WorkerKind
The WorkerKind class is used to map instructions from the RemoteProcessingRequest into the appropriate worker
control invocations to create the requested worker.
The default worker kind is a Deephaven Enterprise worker, the same version as the dispatcher.
The alternative worker kind that we are most interested in is a Deephaven community worker.
-
Field Summary
-
Method Summary
Modifier and Type Method Description String
getWorkerControlTypeForRequest(RemoteProcessingRequest request)
The worker control type required for a particular request.Collection<String>
workerControlTypes()
What kind of worker controls could be required for starting these kind of workers?
-
Field Details
-
Method Details
-
workerControlTypes
Collection<String> workerControlTypes()What kind of worker controls could be required for starting these kind of workers?- Returns:
- the desired WorkerControlType
-
getWorkerControlTypeForRequest
The worker control type required for a particular request.- Parameters:
request
- the request that a worker is being created for- Returns:
- the type of worker control for this particular request
-