Apache Mesos
Namespaces | Functions | Variables
constants.hpp File Reference
#include <stdint.h>
#include <mesos/mesos.hpp>
#include <mesos/quota/quota.hpp>
#include <stout/bytes.hpp>
#include <stout/duration.hpp>
#include <stout/version.hpp>

Go to the source code of this file.

Namespaces

 mesos
 
 mesos::internal
 
 mesos::internal::master
 

Functions

std::vector< MasterInfo::Capability > mesos::internal::master::MASTER_CAPABILITIES ()
 

Variables

constexpr int mesos::internal::master::MAX_OFFERS_PER_FRAMEWORK = 50
 
constexpr double mesos::internal::master::MIN_CPUS = 0.01
 
constexpr Bytes mesos::internal::master::MIN_MEM = Megabytes(32)
 
constexpr Duration mesos::internal::master::DEFAULT_AUTHENTICATION_V0_TIMEOUT = Seconds(15)
 
constexpr Duration mesos::internal::master::DEFAULT_HEARTBEAT_INTERVAL = Seconds(15)
 
constexpr Duration mesos::internal::master::DEFAULT_AGENT_PING_TIMEOUT = Seconds(15)
 
constexpr size_t mesos::internal::master::DEFAULT_MAX_AGENT_PING_TIMEOUTS = 5
 
constexpr Duration mesos::internal::master::MIN_AGENT_REREGISTER_TIMEOUT = Minutes(10)
 
constexpr double mesos::internal::master::RECOVERY_AGENT_REMOVAL_PERCENT_LIMIT = 1.0
 
constexpr size_t mesos::internal::master::MAX_REMOVED_SLAVES = 100000
 
constexpr size_t mesos::internal::master::DEFAULT_MAX_OPERATOR_EVENT_STREAM_SUBSCRIBERS = 1000
 
constexpr size_t mesos::internal::master::DEFAULT_MAX_COMPLETED_FRAMEWORKS = 50
 
constexpr size_t mesos::internal::master::DEFAULT_MAX_COMPLETED_TASKS_PER_FRAMEWORK = 1000
 
constexpr size_t mesos::internal::master::DEFAULT_MAX_UNREACHABLE_TASKS_PER_FRAMEWORK = 1000
 
constexpr Duration mesos::internal::master::MIN_WAIT_BEFORE_ORPHAN_OPERATION_ADOPTION = Minutes(10)
 
constexpr Duration mesos::internal::master::WHITELIST_WATCH_INTERVAL = Seconds(5)
 
constexpr size_t mesos::internal::master::TASK_LIMIT = 100
 
constexpr Duration mesos::internal::master::DEFAULT_REGISTRY_GC_INTERVAL = Minutes(15)
 
constexpr Duration mesos::internal::master::DEFAULT_REGISTRY_MAX_AGENT_AGE = Weeks(2)
 
constexpr size_t mesos::internal::master::DEFAULT_REGISTRY_MAX_AGENT_COUNT = 100 * 1024
 
constexpr char mesos::internal::master::MASTER_INFO_LABEL [] = "info"
 Label used by the Leader Contender and Detector. More...
 
constexpr char mesos::internal::master::MASTER_INFO_JSON_LABEL [] = "json.info"
 Label used by the Leader Contender and Detector, for JSON content. More...
 
constexpr Duration mesos::internal::master::ZOOKEEPER_SESSION_TIMEOUT = Seconds(10)
 
constexpr char mesos::internal::master::DEFAULT_AUTHENTICATOR [] = "crammd5"
 
constexpr char mesos::internal::master::DEFAULT_ALLOCATOR [] = "hierarchical"
 
constexpr Duration mesos::internal::master::DEFAULT_ALLOCATION_INTERVAL = Seconds(1)
 
constexpr char mesos::internal::master::DEFAULT_AUTHORIZER [] = "local"
 
constexpr char mesos::internal::master::READONLY_HTTP_AUTHENTICATION_REALM []
 
constexpr char mesos::internal::master::READWRITE_HTTP_AUTHENTICATION_REALM []
 
constexpr char mesos::internal::master::DEFAULT_HTTP_FRAMEWORK_AUTHENTICATION_REALM []
 
const Version mesos::internal::master::MINIMUM_AGENT_VERSION = Version(1, 0, 0)
 
const Quota mesos::internal::master::DEFAULT_QUOTA
 
constexpr double mesos::internal::master::DEFAULT_WEIGHT = 1.0
 
constexpr Bytes mesos::internal::master::DEFAULT_OFFER_CONSTRAINTS_RE2_MAX_MEM = Bytes(4096)
 
constexpr int mesos::internal::master::DEFAULT_OFFER_CONSTRAINTS_RE2_MAX_PROGRAM_SIZE = 100