blackboard.platform.monitor
Interface MonitorEventFilter<E extends MonitorEvent<?>>

Type Parameters:
E - The type of monitor events that this filter applies to.
All Known Subinterfaces:
LogMonitorEventFilter

public interface MonitorEventFilter<E extends MonitorEvent<?>>

Simple filtering interface. Listeners can optionally implement this interface to filter events that the listener does not care about. The accepts() method will be called from the execution thread regardless of the asynchronous behaviors of the listener or monitor. The method should return quickly to prevent blocking of the execution thread.

Since:
Bb 9.1

Method Summary
 boolean accepts(E event)
          Does this filter accept this event?
 

Method Detail

accepts

boolean accepts(E event)
Does this filter accept this event?

Parameters:
event - The event to filter
Returns:
True if this event would match the filter settings, false otherwise.


Copyright 2011 Blackboard, Inc. All Rights Reserved.