|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.telemetry.analyzer.function.TelemetryFunction
org.hackystat.telemetry.analyzer.function.impl.IdempotentFunction
public class IdempotentFunction
Accepts either a number or a telemetry stream and returns it.
Constructor Summary | |
---|---|
IdempotentFunction()
Constructs this instance. |
Method Summary | |
---|---|
java.lang.Object |
compute(java.lang.Object[] parameters)
Invokes the function. |
Methods inherited from class org.hackystat.telemetry.analyzer.function.TelemetryFunction |
---|
getName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IdempotentFunction()
Method Detail |
---|
public java.lang.Object compute(java.lang.Object[] parameters) throws TelemetryFunctionException
TelemetryFunction
compute
in class TelemetryFunction
parameters
- An array of 1 object of type either Number
or TelemetryStreamCollection
.
Number
or TelemetryStreamCollection
.
TelemetryFunctionException
- If anything is wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |