org.dasein.cloud.aws.platform
Class CloudWatch

java.lang.Object
  extended by org.dasein.cloud.platform.AbstractMonitoringSupport
      extended by org.dasein.cloud.aws.platform.CloudWatch
All Implemented Interfaces:
org.dasein.cloud.AccessControlledService, org.dasein.cloud.platform.MonitoringSupport

public class CloudWatch
extends org.dasein.cloud.platform.AbstractMonitoringSupport

CloudWatch specific implementation of AbstractMonitoringSupport.

Since:
2013-02-18
Author:
Cameron Stokes (http://github.com/clstokes)

Field Summary
static String STATE_ALARM
           
static String STATE_INSUFFICIENT_DATA
           
static String STATE_OK
           
 
Fields inherited from interface org.dasein.cloud.platform.MonitoringSupport
ANY, DESCRIBE_ALARMS, DISABLE_ALARM_ACTIONS, ENABLE_ALARM_ACTIONS, LIST_METRICS, REMOVE_ALARMS, UPDATE_ALARM
 
Method Summary
 void disableAlarmActions(String[] alarmNames)
           
 void enableAlarmActions(String[] alarmNames)
           
 boolean isSubscribed()
           
 Collection<org.dasein.cloud.platform.Alarm> listAlarms(org.dasein.cloud.platform.AlarmFilterOptions options)
           
 Collection<org.dasein.cloud.platform.Metric> listMetrics(org.dasein.cloud.platform.MetricFilterOptions options)
           
 String[] mapServiceAction(org.dasein.cloud.identity.ServiceAction action)
           
 void removeAlarms(String[] alarmNames)
           
 void updateAlarm(org.dasein.cloud.platform.AlarmUpdateOptions options)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATE_OK

public static final String STATE_OK
See Also:
Constant Field Values

STATE_ALARM

public static final String STATE_ALARM
See Also:
Constant Field Values

STATE_INSUFFICIENT_DATA

public static final String STATE_INSUFFICIENT_DATA
See Also:
Constant Field Values
Method Detail

updateAlarm

public void updateAlarm(@Nonnull
                        org.dasein.cloud.platform.AlarmUpdateOptions options)
                 throws org.dasein.cloud.InternalException,
                        org.dasein.cloud.CloudException
Specified by:
updateAlarm in interface org.dasein.cloud.platform.MonitoringSupport
Overrides:
updateAlarm in class org.dasein.cloud.platform.AbstractMonitoringSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

removeAlarms

public void removeAlarms(@Nonnull
                         String[] alarmNames)
                  throws org.dasein.cloud.InternalException,
                         org.dasein.cloud.CloudException
Specified by:
removeAlarms in interface org.dasein.cloud.platform.MonitoringSupport
Overrides:
removeAlarms in class org.dasein.cloud.platform.AbstractMonitoringSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

enableAlarmActions

public void enableAlarmActions(@Nonnull
                               String[] alarmNames)
                        throws org.dasein.cloud.InternalException,
                               org.dasein.cloud.CloudException
Specified by:
enableAlarmActions in interface org.dasein.cloud.platform.MonitoringSupport
Overrides:
enableAlarmActions in class org.dasein.cloud.platform.AbstractMonitoringSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

disableAlarmActions

public void disableAlarmActions(@Nonnull
                                String[] alarmNames)
                         throws org.dasein.cloud.InternalException,
                                org.dasein.cloud.CloudException
Specified by:
disableAlarmActions in interface org.dasein.cloud.platform.MonitoringSupport
Overrides:
disableAlarmActions in class org.dasein.cloud.platform.AbstractMonitoringSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

listAlarms

@Nonnull
public Collection<org.dasein.cloud.platform.Alarm> listAlarms(org.dasein.cloud.platform.AlarmFilterOptions options)
                                                       throws org.dasein.cloud.InternalException,
                                                              org.dasein.cloud.CloudException
Specified by:
listAlarms in interface org.dasein.cloud.platform.MonitoringSupport
Overrides:
listAlarms in class org.dasein.cloud.platform.AbstractMonitoringSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

listMetrics

@Nonnull
public Collection<org.dasein.cloud.platform.Metric> listMetrics(org.dasein.cloud.platform.MetricFilterOptions options)
                                                         throws org.dasein.cloud.InternalException,
                                                                org.dasein.cloud.CloudException
Specified by:
listMetrics in interface org.dasein.cloud.platform.MonitoringSupport
Overrides:
listMetrics in class org.dasein.cloud.platform.AbstractMonitoringSupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

isSubscribed

public boolean isSubscribed()
                     throws org.dasein.cloud.CloudException,
                            org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

mapServiceAction

@Nonnull
public String[] mapServiceAction(@Nonnull
                                         org.dasein.cloud.identity.ServiceAction action)
Specified by:
mapServiceAction in interface org.dasein.cloud.AccessControlledService
Overrides:
mapServiceAction in class org.dasein.cloud.platform.AbstractMonitoringSupport


Copyright © 2009-2014 Dell, Inc.. All Rights Reserved.