|
|||||||||
| 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.merge.internal.JMergeCollector
public class JMergeCollector
Merge collector implementation. This is a simplified version of the aggregate collector. Should be deprecated when aggregate is fully working.
| Field Summary | |
|---|---|
static int |
OP_AVERAGE
|
static int |
OP_MAX
|
static int |
OP_MIN
List of supported operations |
static int |
OP_SUM
|
| Fields inherited from class org.ow2.jasmine.probe.collectors.JCollector |
|---|
hostName, indicator, logger, period, probeId, probeManager |
| Constructor Summary | |
|---|---|
JMergeCollector(String probeId,
JasmineIndicator def,
int period,
String operation,
JasmineCollector source,
String merged)
Constructor |
|
| Method Summary | |
|---|---|
JasmineIndicatorValue |
getLastResult()
return the last result for this indicator |
void |
startPolling()
Start polling |
void |
stopPolling()
Stop polling |
| Methods inherited from class org.ow2.jasmine.probe.collectors.JCollector |
|---|
addJsr, addLongJsr, addLongValues, addValues, averageJsr, diffJsr, diffLongValues, diffValues, divideJsr, divideLongValues, divideValues, getDomainName, getIndicator, getIndicatorName, getProbeId, getServerName, isRemoved, jsrProps, longValue, maxJsr, minJsr, multiplyJsr, multiplyLongValues, multiplyValues, remove, setProbeManager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int OP_MIN
public static final int OP_MAX
public static final int OP_SUM
public static final int OP_AVERAGE
| Constructor Detail |
|---|
public JMergeCollector(String probeId,
JasmineIndicator def,
int period,
String operation,
JasmineCollector source,
String merged)
probeId - def - period - source - | Method Detail |
|---|
public JasmineIndicatorValue getLastResult()
throws JasmineCollectorException
getLastResult in interface JasmineCollectorgetLastResult in class JCollectorJasmineCollectorExceptionpublic void stopPolling()
stopPolling in interface JasmineCollectorstopPolling in class JCollectorpublic void startPolling()
startPolling in interface JasmineCollectorstartPolling in class JCollector
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||