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() |
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 |
stopNode() |
protected OperationResult |
updateSeedsList(org.rhq.core.domain.configuration.Configuration params) |
protected void |
updateSeedsList(List<String> seeds) |
protected void |
waitForNodeToGoDown() |
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 stopNode()
protected void waitForNodeToGoDown()
throws InterruptedException
InterruptedExceptionprotected 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> seeds) throws IOException
IOExceptionpublic String getHost()
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.