public interface StorageNodeManagerLocal extends StorageNodeManagerRemote
| Modifier and Type | Field and Description |
|---|---|
static String |
STORAGE_NODE_GROUP_NAME |
static String |
STORAGE_NODE_PLUGIN_NAME |
static String |
STORAGE_NODE_RESOURCE_TYPE_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
ackFailedOperation(org.rhq.core.domain.auth.Subject subject,
int storageNodeId) |
org.rhq.core.domain.cloud.StorageNode |
createStorageNode(org.rhq.core.domain.resource.Resource resource,
org.rhq.core.domain.cloud.StorageClusterSettings clusterSettings) |
Map<Integer,Integer> |
findResourcesWithAlertDefinitions()
Find ids for all resources and sub-resources of Storage Nodes that
have alert definitions.
|
Integer[] |
findResourcesWithAlertDefinitions(org.rhq.core.domain.cloud.StorageNode storageNode)
Find ids for all resources and sub-resources, of the specified storage node, that
have alert definitions.
|
org.rhq.core.domain.cloud.StorageNode |
findStorageNodeByAddress(String address) |
Map<String,List<org.rhq.core.domain.measurement.composite.MeasurementDataNumericHighLowComposite>> |
findStorageNodeLoadDataForLast(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.StorageNode node,
long beginTime,
long endTime,
int numPoints) |
List<org.rhq.core.domain.cloud.StorageNode> |
getClusterNodes() |
com.google.common.util.concurrent.ListenableFuture<List<org.rhq.core.domain.cloud.StorageNodeLoadComposite>> |
getLoadAsync(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.StorageNode node,
long beginTime,
long endTime) |
org.rhq.core.domain.util.PageList<org.rhq.core.domain.cloud.StorageNodeLoadComposite> |
getStorageNodeComposites(org.rhq.core.domain.auth.Subject subject) |
List<org.rhq.core.domain.cloud.StorageNode> |
getStorageNodes() |
org.rhq.core.domain.cloud.StorageNode |
linkExistingStorageNodeToResource(org.rhq.core.domain.cloud.StorageNode storageNode) |
void |
linkResource(org.rhq.core.domain.resource.Resource resource) |
void |
prepareNodeForUpgrade(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.StorageNode storageNode)
Prepares the node for subsequent upgrade.
|
void |
resetInNewTransaction()
Resets all StorageNode errorMessage and failedOperation values to null.
|
void |
scheduleOperationInNewTransaction(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.operation.bean.ResourceOperationSchedule schedule) |
void |
scheduleSnapshotManagement(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.StorageClusterSettings clusterSettings) |
void |
scheduleSnapshotManagementOperationsForStorageNode(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.StorageNode node,
org.rhq.core.domain.cloud.StorageClusterSettings settings) |
void |
updateConfigurationAsync(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.StorageNodeConfigurationComposite storageNodeConfiguration) |
deployStorageNode, findAllStorageNodeAlerts, findAllStorageNodeAlerts, findNotAcknowledgedStorageNodeAlerts, findNotAcknowledgedStorageNodeAlerts, findStorageNodesByCriteria, getLoad, retrieveConfiguration, runClusterMaintenance, undeployStorageNode, updateConfigurationstatic final String STORAGE_NODE_GROUP_NAME
static final String STORAGE_NODE_RESOURCE_TYPE_NAME
static final String STORAGE_NODE_PLUGIN_NAME
List<org.rhq.core.domain.cloud.StorageNode> getStorageNodes()
List<org.rhq.core.domain.cloud.StorageNode> getClusterNodes()
org.rhq.core.domain.util.PageList<org.rhq.core.domain.cloud.StorageNodeLoadComposite> getStorageNodeComposites(org.rhq.core.domain.auth.Subject subject)
void linkResource(org.rhq.core.domain.resource.Resource resource)
org.rhq.core.domain.cloud.StorageNode linkExistingStorageNodeToResource(org.rhq.core.domain.cloud.StorageNode storageNode)
com.google.common.util.concurrent.ListenableFuture<List<org.rhq.core.domain.cloud.StorageNodeLoadComposite>> getLoadAsync(org.rhq.core.domain.auth.Subject subject, org.rhq.core.domain.cloud.StorageNode node, long beginTime, long endTime)
void updateConfigurationAsync(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.StorageNodeConfigurationComposite storageNodeConfiguration)
org.rhq.core.domain.cloud.StorageNode findStorageNodeByAddress(String address)
Map<Integer,Integer> findResourcesWithAlertDefinitions()
Integer[] findResourcesWithAlertDefinitions(org.rhq.core.domain.cloud.StorageNode storageNode)
findResourcesWithAlertDefinitions() for more details.storageNode - storage nodevoid prepareNodeForUpgrade(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.StorageNode storageNode)
Prepares the node for subsequent upgrade.
CAUTION: this method will set the RHQ server to maintenance mode, RHQ storage flushes all the data to disk and backup of all the keyspaces is created
the subject needs to have MANAGE_SETTINGS and MANAGE_INVENTORY permissions.
subject - callerstorageNode - storage node on which the prepareForUpgrade operation should be runvoid scheduleOperationInNewTransaction(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.operation.bean.ResourceOperationSchedule schedule)
Map<String,List<org.rhq.core.domain.measurement.composite.MeasurementDataNumericHighLowComposite>> findStorageNodeLoadDataForLast(org.rhq.core.domain.auth.Subject subject, org.rhq.core.domain.cloud.StorageNode node, long beginTime, long endTime, int numPoints)
org.rhq.core.domain.cloud.StorageNode createStorageNode(org.rhq.core.domain.resource.Resource resource,
org.rhq.core.domain.cloud.StorageClusterSettings clusterSettings)
void resetInNewTransaction()
void scheduleSnapshotManagementOperationsForStorageNode(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.StorageNode node,
org.rhq.core.domain.cloud.StorageClusterSettings settings)
void scheduleSnapshotManagement(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.StorageClusterSettings clusterSettings)
void ackFailedOperation(org.rhq.core.domain.auth.Subject subject,
int storageNodeId)
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.