@PublicEvolving public class ClusterOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ClusterOptions.UserSystemExitMode
The mode of how to handle user code attempting to exit JVM.
|
Modifier and Type | Field and Description |
---|---|
static ConfigOption<Integer> |
CLUSTER_IO_EXECUTOR_POOL_SIZE |
static ConfigOption<Long> |
CLUSTER_SERVICES_SHUTDOWN_TIMEOUT |
static ConfigOption<Boolean> |
ENABLE_DECLARATIVE_RESOURCE_MANAGEMENT |
static ConfigOption<Boolean> |
ENABLE_FINE_GRAINED_RESOURCE_MANAGEMENT |
static ConfigOption<Long> |
ERROR_REGISTRATION_DELAY |
static ConfigOption<Boolean> |
EVENLY_SPREAD_OUT_SLOTS_STRATEGY |
static ConfigOption<Boolean> |
HALT_ON_FATAL_ERROR |
static ConfigOption<Long> |
INITIAL_REGISTRATION_TIMEOUT |
static ConfigOption<ClusterOptions.UserSystemExitMode> |
INTERCEPT_USER_SYSTEM_EXIT |
static ConfigOption<Long> |
MAX_REGISTRATION_TIMEOUT |
static ConfigOption<Long> |
REFUSED_REGISTRATION_DELAY |
Constructor and Description |
---|
ClusterOptions() |
Modifier and Type | Method and Description |
---|---|
static JobManagerOptions.SchedulerType |
getSchedulerType(Configuration configuration) |
static boolean |
isAdaptiveSchedulerEnabled(Configuration configuration) |
static boolean |
isDeclarativeResourceManagementEnabled(Configuration configuration) |
static boolean |
isFineGrainedResourceManagementEnabled(Configuration configuration) |
public static final ConfigOption<Long> INITIAL_REGISTRATION_TIMEOUT
public static final ConfigOption<Long> MAX_REGISTRATION_TIMEOUT
public static final ConfigOption<Long> ERROR_REGISTRATION_DELAY
public static final ConfigOption<Long> REFUSED_REGISTRATION_DELAY
public static final ConfigOption<Long> CLUSTER_SERVICES_SHUTDOWN_TIMEOUT
public static final ConfigOption<Integer> CLUSTER_IO_EXECUTOR_POOL_SIZE
public static final ConfigOption<Boolean> EVENLY_SPREAD_OUT_SLOTS_STRATEGY
public static final ConfigOption<Boolean> HALT_ON_FATAL_ERROR
public static final ConfigOption<ClusterOptions.UserSystemExitMode> INTERCEPT_USER_SYSTEM_EXIT
public static final ConfigOption<Boolean> ENABLE_DECLARATIVE_RESOURCE_MANAGEMENT
public static final ConfigOption<Boolean> ENABLE_FINE_GRAINED_RESOURCE_MANAGEMENT
public static boolean isDeclarativeResourceManagementEnabled(Configuration configuration)
public static JobManagerOptions.SchedulerType getSchedulerType(Configuration configuration)
public static boolean isAdaptiveSchedulerEnabled(Configuration configuration)
public static boolean isFineGrainedResourceManagementEnabled(Configuration configuration)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.