public interface SupervisorSpec
| Modifier and Type | Method and Description |
|---|---|
default SupervisorTaskAutoScaler |
createAutoscaler(Supervisor supervisor) |
default SupervisorSpec |
createRunningSpec() |
Supervisor |
createSupervisor()
Create a new
Supervisor instance. |
default SupervisorSpec |
createSuspendedSpec() |
List<String> |
getDataSources() |
String |
getId()
Return an unique id of
Supervisor. |
default Set<ResourceAction> |
getInputSourceResources() |
String |
getSource()
This API is only used for informational purposes in
org.apache.druid.sql.calcite.schema.SystemSchema.SupervisorsTable
|
String |
getType()
This API is only used for informational purposes in
org.apache.druid.sql.calcite.schema.SystemSchema.SupervisorsTable
|
default boolean |
isSuspended() |
String getId()
Supervisor.Supervisor createSupervisor()
Supervisor instance.default SupervisorTaskAutoScaler createAutoscaler(Supervisor supervisor)
default SupervisorSpec createSuspendedSpec()
default SupervisorSpec createRunningSpec()
default boolean isSuspended()
String getType()
@Nonnull default Set<ResourceAction> getInputSourceResources() throws UnsupportedOperationException
InputSource that the task uses. Empty set is returned if
the task does not use any. Users can be given permission to access particular types of
input sources but not others, using the
AuthConfig.enableInputSourceSecurity config.UnsupportedOperationExceptionString getSource()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.