Sonic ESB API

com.sonicsw.esb.service.common.metrics
Class MetricDescriptor

java.lang.Object
  extended by com.sonicsw.esb.service.common.metrics.MetricDescriptor

public final class MetricDescriptor
extends java.lang.Object

Describes a metric.


Nested Class Summary
static interface MetricDescriptor.MetricValueProvider
          Callback interface for polled metric values.
 
Constructor Summary
MetricDescriptor()
           
 
Method Summary
 java.lang.String getDescription()
           
 HistoryMode getHistoryMode()
           
 long getInitialValue()
           
 java.lang.String getName()
           
 MetricType getType()
           
 java.lang.String getUnits()
           
 UpdateMode getUpdateMode()
           
 boolean intervalMode()
           
 boolean isInstanceMetric()
           
 void setDescription(java.lang.String description)
           
 void setHistoryMode(HistoryMode historyMode)
           
 void setInitialValue(long initialValue)
           
 void setInstanceMetric(boolean instanceMetric)
           
 void setIntervalMode(boolean intervalMode)
           
 void setName(java.lang.String name)
           
 void setSupportsHighThresholdAlerts(boolean supportsHighThresholdAlerts)
           
 void setSupportsLowThresholdAlerts(boolean supportsLowThresholdAlerts)
           
 void setType(MetricType type)
           
 void setUnits(java.lang.String units)
           
 void setUpdateMode(UpdateMode updateMode)
           
 boolean supportsHighThresholdAlerts()
           
 boolean supportsLowThresholdAlerts()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetricDescriptor

public MetricDescriptor()
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getType

public MetricType getType()

setType

public void setType(MetricType type)

getUpdateMode

public UpdateMode getUpdateMode()

setUpdateMode

public void setUpdateMode(UpdateMode updateMode)

intervalMode

public boolean intervalMode()

setIntervalMode

public void setIntervalMode(boolean intervalMode)

isInstanceMetric

public boolean isInstanceMetric()

setInstanceMetric

public void setInstanceMetric(boolean instanceMetric)

getHistoryMode

public HistoryMode getHistoryMode()

setHistoryMode

public void setHistoryMode(HistoryMode historyMode)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getInitialValue

public long getInitialValue()

setInitialValue

public void setInitialValue(long initialValue)

getUnits

public java.lang.String getUnits()

setUnits

public void setUnits(java.lang.String units)

supportsHighThresholdAlerts

public boolean supportsHighThresholdAlerts()

setSupportsHighThresholdAlerts

public void setSupportsHighThresholdAlerts(boolean supportsHighThresholdAlerts)

supportsLowThresholdAlerts

public boolean supportsLowThresholdAlerts()

setSupportsLowThresholdAlerts

public void setSupportsLowThresholdAlerts(boolean supportsLowThresholdAlerts)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Sonic ESB API

Copyright © 2001-2013 Aurea, Inc. All Rights Reserved.
HTML formatted on 29-April-2013.