VisiBroker for Java

org.omg.DsLogNotification
Class ThresholdAlarm

java.lang.Object
  extended by org.omg.DsLogNotification.ThresholdAlarm
All Implemented Interfaces:
java.io.Serializable, IDLEntity

public final class ThresholdAlarm
extends java.lang.Object
implements IDLEntity

The ThresholdAlarm struct defines the log capacity threshold alarm. It is generated by a log factory when one of its logs reaches its capacity alarm threshold to indicate that a log full or wrapping condition is approaching. If a log wraps when full, then the capacity threshold events are triggered as if coupled to a gauge that counts from zero to the highest capacity threshold value defined and then resets to zero.

See Also:
Serialized Form

Field Summary
 short crossed_value
          The threshold level just being crossed.
 int id
          The log identifier
 Log logref
          The object reference of the log.
 short observed_value
          The current log size, as a percentage of the maximum log size.
 short perceived_severity
          It is minor if log is not full, and critical otherwise.
 long time
          The time when the log has reached its capacity alarm threshold.
 
Constructor Summary
ThresholdAlarm()
           
ThresholdAlarm(Log logref, int id, long time, short crossed_value, short observed_value, short perceived_severity)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logref

public Log logref
The object reference of the log.


id

public int id
The log identifier


time

public long time
The time when the log has reached its capacity alarm threshold.


crossed_value

public short crossed_value
The threshold level just being crossed.


observed_value

public short observed_value
The current log size, as a percentage of the maximum log size.


perceived_severity

public short perceived_severity
It is minor if log is not full, and critical otherwise.

Constructor Detail

ThresholdAlarm

public ThresholdAlarm()

ThresholdAlarm

public ThresholdAlarm(Log logref,
                      int id,
                      long time,
                      short crossed_value,
                      short observed_value,
                      short perceived_severity)

Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online