public class SummingAlarmPropagator extends java.lang.Object implements AlarmPropagator
AlarmPropagator}
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected java.lang.ThreadLocal |
threadLocal
Uses threadLocal to avoid propagate method is invoked recursively.
|
Constructor and Description |
---|
SummingAlarmPropagator() |
Modifier and Type | Method and Description |
---|---|
void |
propagate(Element element)
propagate the alarm state of the specified element.
|
protected void |
propagateToParent(Element element,
Element parent)
Propagate the element's alarm state to its parent.
|
protected void |
propagateToTop(Element element)
propagate the alarm state of the specified element to
the top level of databox.
|
protected java.lang.ThreadLocal threadLocal
public void propagate(Element element)
propagate
in interface AlarmPropagator
element
- Elementprotected void propagateToTop(Element element)
element
- protected void propagateToParent(Element element, Element parent)
element
- the element that cause propagateparent
- the parent that need to be propagatedCopyright © 2002 - 2010 Serva Software. All Rights Reserved.