org.apache.excalibur.event
Interface Queue

All Superinterfaces:
Sink, Source
All Known Implementing Classes:
AbstractQueue

public interface Queue
extends Source, Sink

A Source implements the side of an event queue where QueueElements are dequeued operations only.

The interface design is heavily influenced by Matt Welsh's SandStorm server, his demonstration of the SEDA architecture. We have deviated where we felt the design differences where better.

Author:
Berin Loritsch

Methods inherited from interface org.apache.excalibur.event.Source
dequeue, dequeue, dequeueAll, setTimeout, size
 
Methods inherited from interface org.apache.excalibur.event.Sink
canAccept, enqueue, enqueue, isFull, maxSize, prepareEnqueue, size, tryEnqueue
 



Copyright © 2002 Apache Jakarta Project. All Rights Reserved.