Interface MonitorEventFilter<E extends MonitorEvent<?>>

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

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.

Bb 9.1

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

Method Detail


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

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

Copyright © 2012 Blackboard, Inc. All Rights Reserved.