public class AbstractManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<org.rhq.core.domain.cloud.StorageNode> |
nodes |
protected String |
password |
protected com.datastax.driver.core.Session |
session |
protected String |
username |
| Constructor and Description |
|---|
AbstractManager(String username,
String password,
List<org.rhq.core.domain.cloud.StorageNode> nodes) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
extractVersionFromUpdateFile(String file) |
protected int |
getReplicationFactor() |
protected int |
getSchemaVersion() |
protected List<String> |
getSteps(String file) |
protected List<String> |
getUpdateFiles(String folder) |
protected void |
initCluster() |
protected void |
initCluster(String username,
String password) |
protected void |
removeAppliedUpdates(List<String> updateFiles,
int currentSchemaVersion) |
protected boolean |
schemaExists() |
protected void |
shutdown() |
protected com.datastax.driver.core.Session session
protected final String username
protected final String password
protected List<org.rhq.core.domain.cloud.StorageNode> nodes
protected boolean schemaExists()
protected int getSchemaVersion()
protected void removeAppliedUpdates(List<String> updateFiles, int currentSchemaVersion)
protected int extractVersionFromUpdateFile(String file)
protected List<String> getUpdateFiles(String folder) throws Exception
Exceptionprotected void initCluster()
protected void shutdown()
protected int getReplicationFactor()
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.