public class Constants
extends java.lang.Object
EnvConstants
,
LabelConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANY_ROLE
The "any role" wildcard resource role.
|
static java.lang.String |
CPUS_RESOURCE_TYPE
The name used for cpu resources.
|
static java.lang.String |
DECOMMISSION_PLAN_NAME
The name used for the decommission plan.
|
static double |
DEFAULT_EXECUTOR_CPUS
The amount of additional CPU to require for the default executor.
|
static double |
DEFAULT_EXECUTOR_DISK
The amount of additional disk (in MB) to require for the default executor.
|
static double |
DEFAULT_EXECUTOR_MEMORY
The amount of additional memory (in MB) to require for the default executor.
|
static DiscoveryInfo.Visibility |
DEFAULT_TASK_DISCOVERY_VISIBILITY
The visibility setting to use by default in a Task's DiscoveryInfo, for both VIP and non-VIP ports.
|
static java.lang.String |
DEPLOY_PLAN_NAME
The name used for the deployment plan.
|
static java.lang.String |
DISK_RESOURCE_TYPE
The name used for reserved storage/disk resources.
|
static DiscoveryInfo.Visibility |
DISPLAYED_PORT_VISIBILITY
The visibility setting to use by default in Mesos Ports, for VIP ports.
|
static java.lang.String |
DNS_TLD
TLD for navstar-based DNS.
|
static int |
LONG_DECLINE_SECONDS
The duration in seconds to decline offers the scheduler does not need for the foreseeable future.
|
static java.lang.String |
MEMORY_RESOURCE_TYPE
The name used for memory resources.
|
static DiscoveryInfo.Visibility |
OMITTED_PORT_VISIBILITY
The visibility setting to use by default in Mesos Ports, for non-VIP ports.
|
static java.lang.String |
PORTS_RESOURCE_TYPE
The name used for reserved network port resources.
|
static int |
SHORT_DECLINE_SECONDS
The duration in seconds to decline offers the scheduler does not need for a short time.
|
static java.lang.String |
TOMBSTONE_MARKER
The string prepended to reserved resources to indicate that they are uninstalled.
|
static java.lang.String |
UPDATE_PLAN_NAME
The name used in specifications for the update plan.
|
static java.lang.String |
VIP_HOST_TLD
TLD to be used for VIP-based hostnames.
|
Constructor and Description |
---|
Constants() |
public static final java.lang.String DEPLOY_PLAN_NAME
public static final java.lang.String UPDATE_PLAN_NAME
public static final java.lang.String DECOMMISSION_PLAN_NAME
public static final java.lang.String PORTS_RESOURCE_TYPE
public static final java.lang.String DISK_RESOURCE_TYPE
public static final java.lang.String CPUS_RESOURCE_TYPE
public static final java.lang.String MEMORY_RESOURCE_TYPE
public static final double DEFAULT_EXECUTOR_CPUS
public static final double DEFAULT_EXECUTOR_MEMORY
public static final double DEFAULT_EXECUTOR_DISK
public static final java.lang.String ANY_ROLE
public static final java.lang.String TOMBSTONE_MARKER
public static final java.lang.String VIP_HOST_TLD
public static final java.lang.String DNS_TLD
public static final DiscoveryInfo.Visibility DISPLAYED_PORT_VISIBILITY
NamedVIPSpec
or
PortSpec
.
As of this writing, this setting is only used by EndpointsResource
for
determining what ports to advertise, where EXTERNAL
means advertise and non-EXTERNAL
means don't
advertise. According to the networking team this isn't currently used by DC/OS itself (as of 1.10).public static final DiscoveryInfo.Visibility OMITTED_PORT_VISIBILITY
public static final DiscoveryInfo.Visibility DEFAULT_TASK_DISCOVERY_VISIBILITY
public static final int LONG_DECLINE_SECONDS
public static final int SHORT_DECLINE_SECONDS