public class LongBarrierPassGuard extends BarrierPassGuard implements Serializable
| Constructor and Description |
|---|
LongBarrierPassGuard(ThresholdStatus aTargetStatus,
long targetValue,
GuardedDirection aDirection)
Creates a new LongBarrierPassGuard.
|
| Modifier and Type | Method and Description |
|---|---|
protected Number |
getBarrierValueAsNumber()
Returns the guard threshold as number.
|
protected Number |
getValueAsNumber(String aValue)
Returns the value of the producer as number.
|
String |
getValueAsString()
Returns the value as string for alert generation.
|
getNewStatusOnUpdate, getTargetStatus, toStringpublic LongBarrierPassGuard(ThresholdStatus aTargetStatus, long targetValue, GuardedDirection aDirection)
aTargetStatus - target status.targetValue - threshold value.aDirection - direction.public String getValueAsString()
BarrierPassGuardgetValueAsString in class BarrierPassGuardprotected Number getValueAsNumber(String aValue)
BarrierPassGuardgetValueAsNumber in class BarrierPassGuardprotected Number getBarrierValueAsNumber()
BarrierPassGuardgetBarrierValueAsNumber in class BarrierPassGuardCopyright © 2010-2017 anotheria.net. All Rights Reserved.