public class CassandraNodeComponent extends JMXServerComponent<ResourceComponent<?>> implements OperationFacet
CREDENTIALS_CONFIG_PROP, PRINCIPAL_CONFIG_PROP| Constructor and Description |
|---|
CassandraNodeComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
getAddresses(org.rhq.core.domain.configuration.PropertyList seedsList) |
org.rhq.core.domain.measurement.AvailabilityType |
getAvailability() |
com.datastax.driver.core.Session |
getCassandraSession() |
String |
getHost() |
OperationResult |
invokeOperation(String name,
org.rhq.core.domain.configuration.Configuration parameters) |
protected OperationResult |
restartNode() |
protected OperationResult |
shutdownNode() |
void |
start(ResourceContext context) |
protected OperationResult |
startNode() |
void |
stop() |
protected OperationResult |
updateSeedsList(org.rhq.core.domain.configuration.Configuration params) |
protected void |
updateSeedsList(List<String> addresses) |
getEmsConnection, getResourceContext, internalStartpublic void start(ResourceContext context) throws Exception
start in interface ResourceComponent<ResourceComponent<?>>start in class JMXServerComponent<ResourceComponent<?>>Exceptionpublic void stop()
stop in interface ResourceComponent<ResourceComponent<?>>stop in class JMXServerComponent<ResourceComponent<?>>public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
getAvailability in interface AvailabilityFacetgetAvailability in class JMXServerComponent<ResourceComponent<?>>public OperationResult invokeOperation(String name, org.rhq.core.domain.configuration.Configuration parameters) throws Exception
invokeOperation in interface OperationFacetExceptionprotected OperationResult shutdownNode()
protected OperationResult startNode()
protected OperationResult restartNode()
protected OperationResult updateSeedsList(org.rhq.core.domain.configuration.Configuration params)
protected List<String> getAddresses(org.rhq.core.domain.configuration.PropertyList seedsList)
protected void updateSeedsList(List<String> addresses) throws IOException
IOExceptionpublic com.datastax.driver.core.Session getCassandraSession()
public String getHost()
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.