org.rhq.enterprise.server.alert
Interface CachedConditionManagerLocal

All Known Implementing Classes:
CachedConditionManagerBean

public interface CachedConditionManagerLocal

Author:
Joseph Marques

Method Summary
 void processCachedConditionMessage(AbstractAlertConditionMessage conditionMessage, Integer definitionId)
          The entry point to all out-of-band alert condition processing.
 

Method Detail

processCachedConditionMessage

void processCachedConditionMessage(AbstractAlertConditionMessage conditionMessage,
                                   Integer definitionId)
The entry point to all out-of-band alert condition processing. By extracting this into it's own interface, it can very easily be run in a new transaction using the TransactionAttributeType.REQUIRES_NEW annotation. Thus, when this method completes, the caller knows that any information it has committed to the database will be visible to it as well as any other thread that is blocked, waiting for it to complete.



Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.