public interface MachineEntity extends EmptySoftwareProcess
SoftwareProcess.ChildStartableMode, SoftwareProcess.RestartSoftwareParameters, SoftwareProcess.StopSoftwareParameters
BrooklynObject.TagSupport
Configurable.ConfigurationSupport
Startable.RestartEffectorBody, Startable.StartEffectorBody, Startable.StopEffectorBody
Modifier and Type | Field and Description |
---|---|
static AttributeSensor<java.lang.Double> |
CPU_USAGE |
static MethodEffector<java.lang.String> |
EXEC_COMMAND |
static MethodEffector<java.lang.String> |
EXEC_COMMAND_TIMEOUT |
static AttributeSensor<java.lang.Long> |
FREE_MEMORY |
static AttributeSensor<java.lang.Double> |
LOAD_AVERAGE |
static AttributeSensor<java.lang.Long> |
TOTAL_MEMORY |
static AttributeSensor<Duration> |
UPTIME |
static AttributeSensor<java.lang.Long> |
USED_MEMORY |
ADDRESS, CHILDREN_STARTABLE_MODE, CUSTOMIZE_LATCH, DOWNLOAD_ADDON_URLS, DOWNLOAD_URL, ENTITY_STARTED, EXPANDED_INSTALL_DIR, HOSTNAME, INSTALL_DIR, INSTALL_FILES, INSTALL_LATCH, INSTALL_RESOURCES_LATCH, INSTALL_TEMPLATES, INSTALL_UNIQUE_LABEL, LAUNCH_LATCH, MAXIMUM_REBIND_SENSOR_CONNECT_DELAY, PID_FILE, POST_INSTALL_COMMAND, POST_LAUNCH_COMMAND, PRE_INSTALL_COMMAND, PRE_INSTALL_FILES, PRE_INSTALL_TEMPLATES, PRE_LAUNCH_COMMAND, PROVISIONING_LOCATION, PROVISIONING_PROPERTIES, REQUIRED_OPEN_LOGIN_PORTS, RUN_DIR, RUNTIME_FILES, RUNTIME_RESOURCES_LATCH, RUNTIME_TEMPLATES, SERVICE_PROCESS_IS_RUNNING, SERVICE_STATE_ACTUAL, SERVICE_STATE_EXPECTED, SETUP_LATCH, SHELL_ENVIRONMENT, SKIP_ENTITY_START_IF_RUNNING, SKIP_INSTALLATION, START_LATCH, START_TIMEOUT, SUBNET_ADDRESS, SUBNET_HOSTNAME, SUGGESTED_INSTALL_DIR, SUGGESTED_RUN_DIR, SUGGESTED_VERSION
RESTART, SERVICE_UP, START, STOP
Modifier and Type | Method and Description |
---|---|
java.lang.String |
execCommand(java.lang.String command)
Execute a command and return the output.
|
java.lang.String |
execCommandTimeout(java.lang.String command,
Duration timeout)
Execute a command and return the output, or throw an exception after a timeout.
|
getDriver
addChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, addTag, clearParent, containsTag, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, getTags, invoke, removeChild, removeEnricher, removeGroup, removePolicy, removeTag, setParent
getCatalogItemId, getTagSupport, tags
config, setConfig
static final AttributeSensor<Duration> UPTIME
static final AttributeSensor<java.lang.Double> LOAD_AVERAGE
static final AttributeSensor<java.lang.Double> CPU_USAGE
static final AttributeSensor<java.lang.Long> FREE_MEMORY
static final AttributeSensor<java.lang.Long> TOTAL_MEMORY
static final AttributeSensor<java.lang.Long> USED_MEMORY
static final MethodEffector<java.lang.String> EXEC_COMMAND
static final MethodEffector<java.lang.String> EXEC_COMMAND_TIMEOUT
java.lang.String execCommand(java.lang.String command)
java.lang.String execCommandTimeout(java.lang.String command, Duration timeout)