org.jgroups.protocols

Interface QUEUE.Observer

public interface QUEUE.Observer

Method Summary
booleanaddingToDownVector(Event evt, int num_events)
Called before event is added.
booleanaddingToUpVector(Event evt, int num_events)
Called before event is added.

Method Detail

addingToDownVector

public boolean addingToDownVector(Event evt, int num_events)
Called before event is added. Blocks until call returns.

Parameters: evt The event num_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

addingToUpVector

public boolean addingToUpVector(Event evt, int num_events)
Called before event is added. Blocks until call returns.

Parameters: evt The event num_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

Copyright ? 1998-2005 Bela Ban. All Rights Reserved.