Package com.illumon.iris.controller
Class SystemConfigurationTypeDetails
java.lang.Object
com.illumon.iris.controller.SystemConfigurationTypeDetails
- All Implemented Interfaces:
ConfigurationTypeDetails
public class SystemConfigurationTypeDetails extends Object implements ConfigurationTypeDetails
Implementation of
ConfigurationTypeDetails
which provides priorities for system workers like the helper queries
and web client data query.-
Constructor Summary
Constructors Constructor Description SystemConfigurationTypeDetails()
-
Method Summary
Modifier and Type Method Description int
getPriority(PersistentQueryConfiguration configuration)
Return the priority for the provided persistent query configuration.
-
Constructor Details
-
SystemConfigurationTypeDetails
public SystemConfigurationTypeDetails()
-
-
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 should return a lower priority (higher number) than the in-worker services inInWorkerServiceConfigurationTypeDetails
because if those are specified, they may be needed for these workers to start correctly.- Specified by:
getPriority
in interfaceConfigurationTypeDetails
- Parameters:
configuration
- the configuration- Returns:
- the priority where a lower number is a higher priority
-