This project has retired. For details please refer to its
Attic page.
Queue (Cocoon Thread Implementation 1.0.0 API)
org.apache.cocoon.thread.impl
Interface Queue
- All Superinterfaces:
- EDU.oswego.cs.dl.util.concurrent.Channel, EDU.oswego.cs.dl.util.concurrent.Puttable, EDU.oswego.cs.dl.util.concurrent.Takable
- All Known Implementing Classes:
- BoundedQueue, LinkedQueue, SynchronousChannel
- public interface Queue
- extends EDU.oswego.cs.dl.util.concurrent.Channel
Extension to add queue size reporting
- Version:
- $Id: Queue.html 1304280 2012-03-23 11:18:01Z ilgrosso $
- See Also:
Channel
|
Method Summary |
int |
getQueueSize()
get the current queue size |
| Methods inherited from interface EDU.oswego.cs.dl.util.concurrent.Channel |
offer, peek, poll, put, take |
getQueueSize
public int getQueueSize()
- get the current queue size
- Returns:
- current size of queue. If the size of the queue is not
maintained by an implementation -1 should be returned.
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.