org.jgroups.protocols
Interface QUEUE.Observer
- Enclosing interface:
- QUEUE
- public static interface QUEUE.Observer
addingToUpVector
public boolean addingToUpVector(Event evt,
int num_events)
- Called before event is added. Blocks until call returns.
- Parameters:
evt
- The eventnum_events
- The number of events in the up vector before
this event is added
- Returns:
- boolean True if event should be added. False if it should be discarded
addingToDownVector
public boolean addingToDownVector(Event evt,
int num_events)
- Called before event is added. Blocks until call returns.
- Parameters:
evt
- The eventnum_events
- The number of events in the down vector before
this event is added
- Returns:
- boolean True if event should be added. False if it should be discarded
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.