|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.probe.collectors.JCollector
org.ow2.jasmine.probe.collectors.jmx.internal.JmxCollectorBase
public abstract class JmxCollectorBase
Base class for regular JmxCollector and JmxCollector for tests.
| Field Summary | |
|---|---|
protected org.ow2.util.log.Log |
logger
|
| Fields inherited from class org.ow2.jasmine.probe.collectors.JCollector |
|---|
hostName, indicator, MISC_TARGET, NO_TARGET, period, probeId, probeManager |
| Constructor Summary | |
|---|---|
JmxCollectorBase(String probeId,
org.ow2.jasmine.probe.JasmineIndicator indicator,
int period,
String mbean,
String csv)
Constructor |
|
| Method Summary | |
|---|---|
List<String> |
getAttrlist()
Getter for attrlist (list of provided attribute and or fragment names). |
protected org.ow2.jasmine.probe.JasmineIndicatorValue |
getJiv(String name,
String probeId,
int scale,
List<Metric> metrics)
Create a JIV on the basis of collected metrics. |
ObjectName |
getObjectName()
|
String |
getPattern()
|
protected boolean |
hasAttributes()
Allows to know if attributes and/or fragments are provided by the indicator definition. |
| Methods inherited from class org.ow2.jasmine.probe.collectors.JCollector |
|---|
addJsr, addLongJsr, addLongValues, addValues, averageJsr, diffJsr, diffLongValues, diffValues, divideJsr, divideLongValues, divideValues, getDefaultTarget, getDomainName, getIndicator, getIndicatorName, getJsr, getLastResult, getProbeId, getServerName, isRemoved, jsrProps, longValue, maxJsr, minJsr, multiplyJsr, multiplyLongValues, multiplyValues, remove, setProbeManager, startPolling, stopPolling |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.ow2.util.log.Log logger
| Constructor Detail |
|---|
public JmxCollectorBase(String probeId,
org.ow2.jasmine.probe.JasmineIndicator indicator,
int period,
String mbean,
String csv)
probeId - probe Identifierindicator - JasmineIndicator definitionperiod - in secondsmbean - MBean patterncsv - CSV list of attributes| Method Detail |
|---|
public String getPattern()
public List<String> getAttrlist()
public ObjectName getObjectName()
throws org.ow2.jasmine.probe.collector.JasmineCollectorException
org.ow2.jasmine.probe.collector.JasmineCollectorException - an ObjectName could not be obtained as the pattern
in not well formed given the JMX naming conventions.protected boolean hasAttributes()
protected org.ow2.jasmine.probe.JasmineIndicatorValue getJiv(String name,
String probeId,
int scale,
List<Metric> metrics)
throws org.ow2.jasmine.probe.collector.JasmineCollectorException
name - the value nameprobeId - the id of the probescale - a scale to apply to the valuemetrics - the metrics to use to construct the value
org.ow2.jasmine.probe.collector.JasmineCollectorException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||