type and range of Threshold "sample" and "value"

Started by moseszero, December 06, 2011, 05:25:27 AM

Previous topic - Next topic

moseszero

Hi,

When set threshold's attributes in java console(1.1.6),there's 2 input(see the picture uploaded),"sample" and "value",which attributes does "sample" and "value" refer to in the Class Threshold.java in java api?

Second,"sample" and "value" 's value both have special type and range,they require int and range from 1 to 1000.

In my last topic posted yesterday,I knew threshold does work immediately after added to one dci(using default fireEvent and rearmEvent  code),no need to set event policy extral .But where to see the "trigger" information or anything else changed if threshold's value has been reached?

Best regards,
Yan

Victor Kirhenshtein

Hi!

Sample is arg1 in Threshold class, and value is value in Threshold class.

Threshold generates events when condition is true. You can process this event in event processing policy if you need some action. But event by itself will be generated without any changes in event processing policy.

Best regards,
Victor