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