com.jrockit.mc.rjmx.notification
Interface INotificationTrigger

All Superinterfaces:
com.jrockit.mc.common.xml.XmlEnabled

public interface INotificationTrigger
extends com.jrockit.mc.common.xml.XmlEnabled

Interface for triggers. Warning, this interface is bound to change in 4.0.

Author:
Marcus Hirt

Method Summary
 AttributeDescriptor getAttributeDescriptor()
          Returns the attribute descriptor for which the trigger was registered.
 int getSustainTime()
          Returns the sustain time, i.e. the time a signal has to remain high/low before we trigger.
 IValueEvaluator getValueEvaluator()
          Returns the value evaluator for the trigger.
 void triggerOn(IConnectionHandle connectionHandle, NotificationRule rule, AttributeValueEvent attributeEvent)
          This method determines if any action should be taken on the incoming event.
 
Methods inherited from interface com.jrockit.mc.common.xml.XmlEnabled
exportToXml, getComponentTag, initializeFromXml
 

Method Detail

triggerOn

void triggerOn(IConnectionHandle connectionHandle,
               NotificationRule rule,
               AttributeValueEvent attributeEvent)
This method determines if any action should be taken on the incoming event.

Parameters:
connectionHandle - the connection for which to trigger.
rule - the rule to trigger.
attributeEvent - the attribute event to trigger on.

getAttributeDescriptor

AttributeDescriptor getAttributeDescriptor()
Returns the attribute descriptor for which the trigger was registered.

Returns:
the attribute descriptor for which the trigger was registered.

getValueEvaluator

IValueEvaluator getValueEvaluator()
Returns the value evaluator for the trigger.

Returns:
the value evaluator for the trigger.

getSustainTime

int getSustainTime()
Returns the sustain time, i.e. the time a signal has to remain high/low before we trigger.

Returns:
the sustain time, i.e. the time a signal has to remain high/low before we trigger.


Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.