public interface CassandraNode extends DatastoreMixins.DatastoreCommon, SoftwareProcess, UsesJmx, UsesJavaMXBeans, DatastoreMixins.HasDatastoreUrl, DatastoreMixins.CanExecuteScript
Entity
that represents a Cassandra node in a CassandraDatacenter
.SoftwareProcess.ChildStartableMode, SoftwareProcess.RestartSoftwareParameters, SoftwareProcess.StopSoftwareParameters
BrooklynObject.TagSupport
Configurable.ConfigurationSupport
Startable.RestartEffectorBody, Startable.StartEffectorBody, Startable.StopEffectorBody
UsesJmx.JmxAgentModes
DATASTORE_URL
CREATION_SCRIPT_CONTENTS, CREATION_SCRIPT_URL
ADDRESS, CHILDREN_STARTABLE_MODE, CUSTOMIZE_LATCH, DOWNLOAD_ADDON_URLS, 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_LAUNCH_COMMAND, PROVISIONING_LOCATION, PROVISIONING_PROPERTIES, RUN_DIR, RUNTIME_FILES, RUNTIME_RESOURCES_LATCH, RUNTIME_TEMPLATES, SERVICE_PROCESS_IS_RUNNING, SERVICE_STATE_ACTUAL, SETUP_LATCH, SHELL_ENVIRONMENT, SKIP_ENTITY_START_IF_RUNNING, SKIP_INSTALLATION, START_LATCH, SUBNET_ADDRESS, SUBNET_HOSTNAME, SUGGESTED_INSTALL_DIR, SUGGESTED_RUN_DIR
RESTART, SERVICE_UP, START, STOP
DEFAULT_JMX_PORT, JMX_AGENT_LOCAL_PATH, JMX_CONTEXT, JMX_PASSWORD, JMX_PORT, JMX_PORT_LEGACY, JMX_SSL_ACCESS_CERT, JMX_SSL_ACCESS_KEY, JMX_SSL_ENABLED, JMX_URL, JMX_USER, USE_JMX
CHECK_JAVA_HOSTNAME_BUG, JAVA_OPTS, JAVA_SYSPROPS
AVAILABLE_PROCESSORS, COMMITTED_HEAP_MEMORY, CURRENT_THREAD_COUNT, FREE_PHYSICAL_MEMORY_SIZE, GARBAGE_COLLECTION_TIME, INIT_HEAP_MEMORY, MAX_HEAP_MEMORY, MXBEAN_STATS_ENABLED, NON_HEAP_MEMORY_USAGE, PEAK_THREAD_COUNT, PROCESS_CPU_TIME, PROCESS_CPU_TIME_FRACTION_IN_WINDOW, PROCESS_CPU_TIME_FRACTION_LAST, START_TIME, SYSTEM_LOAD_AVERAGE, TOTAL_PHYSICAL_MEMORY_SIZE, UP_TIME, USED_HEAP_MEMORY
Modifier and Type | Method and Description |
---|---|
java.lang.String |
executeScript(java.lang.String commands) |
java.lang.String |
getBroadcastAddress() |
java.lang.String |
getClusterName() |
java.lang.Integer |
getGossipPort() |
java.lang.String |
getListenAddress() |
java.lang.String |
getMajorMinorVersion() |
java.lang.Integer |
getNativeTransportPort() |
int |
getNumTokensPerNode() |
java.lang.String |
getPrivateIp() |
java.lang.String |
getPublicIp() |
java.lang.String |
getRpcAddress() |
java.lang.String |
getSeeds() |
java.lang.Integer |
getSslGossipPort() |
java.lang.Integer |
getThriftPort() |
java.math.BigInteger |
getToken()
Deprecated.
since 0.7; see
getTokens() |
java.lang.String |
getTokenAsString()
Deprecated.
since 0.7; use
getTokensAsString() |
java.util.Set<java.math.BigInteger> |
getTokens() |
java.lang.String |
getTokensAsString()
string value of comma-separated tokens; or blank if none
|
void |
setToken(java.lang.String token) |
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 ConfigKey<java.lang.String> SUGGESTED_VERSION
static final BasicAttributeSensorAndConfigKey<java.lang.String> DOWNLOAD_URL
static final ConfigKey<java.lang.String> MIRROR_URL
static final ConfigKey<java.lang.String> TGZ_URL
static final BasicAttributeSensorAndConfigKey<java.lang.String> CLUSTER_NAME
static final ConfigKey<java.lang.String> ENDPOINT_SNITCH_NAME
static final PortAttributeSensorAndConfigKey GOSSIP_PORT
static final PortAttributeSensorAndConfigKey SSL_GOSSIP_PORT
static final PortAttributeSensorAndConfigKey THRIFT_PORT
static final PortAttributeSensorAndConfigKey NATIVE_TRANSPORT_PORT
static final PortAttributeSensorAndConfigKey RMI_REGISTRY_PORT
static final ConfigKey<UsesJmx.JmxAgentModes> JMX_AGENT_MODE
static final ConfigKey<java.lang.String> CUSTOM_SNITCH_JAR_URL
static final ConfigKey<java.lang.String> CASSANDRA_CONFIG_TEMPLATE_URL
static final ConfigKey<java.lang.String> CASSANDRA_CONFIG_FILE_NAME
static final ConfigKey<java.lang.String> CASSANDRA_RACKDC_CONFIG_TEMPLATE_URL
static final ConfigKey<java.lang.String> CASSANDRA_RACKDC_CONFIG_FILE_NAME
static final BasicAttributeSensorAndConfigKey<java.lang.String> DATACENTER_NAME
static final BasicAttributeSensorAndConfigKey<java.lang.String> RACK_NAME
static final ConfigKey<java.lang.Integer> NUM_TOKENS_PER_NODE
@Deprecated static final BasicAttributeSensorAndConfigKey<java.math.BigInteger> TOKEN
TOKENS
static final BasicAttributeSensorAndConfigKey<java.util.Set<java.math.BigInteger>> TOKENS
static final AttributeSensor<java.lang.Integer> PEERS
static final AttributeSensor<java.lang.Integer> LIVE_NODE_COUNT
static final AttributeSensor<java.lang.Long> READ_PENDING
static final AttributeSensor<java.lang.Integer> READ_ACTIVE
static final AttributeSensor<java.lang.Long> READ_COMPLETED
static final AttributeSensor<java.lang.Long> WRITE_PENDING
static final AttributeSensor<java.lang.Integer> WRITE_ACTIVE
static final AttributeSensor<java.lang.Long> WRITE_COMPLETED
static final AttributeSensor<java.lang.Boolean> SERVICE_UP_JMX
static final AttributeSensor<java.lang.Long> THRIFT_PORT_LATENCY
static final AttributeSensor<java.lang.Double> READS_PER_SECOND_LAST
static final AttributeSensor<java.lang.Double> WRITES_PER_SECOND_LAST
static final AttributeSensor<java.lang.Double> THRIFT_PORT_LATENCY_IN_WINDOW
static final AttributeSensor<java.lang.Double> READS_PER_SECOND_IN_WINDOW
static final AttributeSensor<java.lang.Double> WRITES_PER_SECOND_IN_WINDOW
static final ConfigKey<java.lang.String> LISTEN_ADDRESS_SENSOR
static final ConfigKey<java.lang.String> BROADCAST_ADDRESS_SENSOR
static final ConfigKey<java.lang.String> RPC_ADDRESS_SENSOR
static final Effector<java.lang.String> EXECUTE_SCRIPT
java.lang.String getMajorMinorVersion()
java.lang.Integer getGossipPort()
java.lang.Integer getSslGossipPort()
java.lang.Integer getThriftPort()
java.lang.Integer getNativeTransportPort()
java.lang.String getClusterName()
java.lang.String getListenAddress()
java.lang.String getBroadcastAddress()
java.lang.String getRpcAddress()
java.lang.String getSeeds()
java.lang.String getPrivateIp()
java.lang.String getPublicIp()
@Deprecated java.math.BigInteger getToken()
getTokens()
int getNumTokensPerNode()
java.util.Set<java.math.BigInteger> getTokens()
@Deprecated java.lang.String getTokenAsString()
getTokensAsString()
java.lang.String getTokensAsString()
void setToken(java.lang.String token)
java.lang.String executeScript(java.lang.String commands)