Package com.illumon.iris.controller
Class InWorkerServiceConfigurationTypeDetails
java.lang.Object
com.illumon.iris.controller.InWorkerServiceConfigurationTypeDetails
- All Implemented Interfaces:
ConfigurationTypeDetails
public class InWorkerServiceConfigurationTypeDetails extends Object implements ConfigurationTypeDetails
Implementation of
ConfigurationTypeDetails which provides priorities for in-worker services.-
Constructor Summary
Constructors Constructor Description InWorkerServiceConfigurationTypeDetails() -
Method Summary
Modifier and Type Method Description intgetPriority(PersistentQueryConfiguration configuration)Return the priority for the provided persistent query configuration.
-
Constructor Details
-
InWorkerServiceConfigurationTypeDetails
public InWorkerServiceConfigurationTypeDetails()
-
-
Method Details
-
getPriority
Return the priority for the provided persistent query configuration. Priorities should be non-negative. A negative priority will be treated by Deephaven as the default priority value,RemoteQueryClient.DEFAULT_WORKER_PRIORITY. This implementation returns the following worker priority values. The configuration is not used to determine priority.InWorkerServiceSetupQuery.SERVICE_TYPE_LAS:WORKER_PRIORITY_LASInWorkerServiceSetupQuery.SERVICE_TYPE_DIS:WORKER_PRIORITY_DISInWorkerServiceSetupQuery.SERVICE_TYPE_DIS_SCRIPT:WORKER_PRIORITY_DISInWorkerServiceSetupQuery.SERVICE_TYPE_TDCP:WORKER_PRIORITY_TDCP_LTDSInWorkerServiceSetupQuery.SERVICE_TYPE_LTDS:WORKER_PRIORITY_TDCP_LTDSInWorkerServiceSetupQuery.SERVICE_TYPE_LOG_TAILER:WORKER_PRIORITY_TAILER
SystemConfigurationTypeDetails.getPriority(PersistentQueryConfiguration).- Specified by:
getPriorityin interfaceConfigurationTypeDetails- Parameters:
configuration- the configuration- Returns:
- the priority where a lower number is a higher priority
-