type and range of Threshold "sample" and "value"
-
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

-
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 -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login