| |
|
| java.lang.Object javax.concurrent.BoundedBuffer
emptySlots_ | protected int emptySlots_(Code) | | |
putMonitor_ | final protected Object putMonitor_(Code) | | Helper monitor to handle puts.
|
putPtr_ | protected int putPtr_(Code) | | |
takePtr_ | protected int takePtr_(Code) | | |
usedSlots_ | protected int usedSlots_(Code) | | |
BoundedBuffer | public BoundedBuffer()(Code) | | Create a buffer with the current default capacity
|
capacity | public int capacity()(Code) | | |
incEmptySlots | protected void incEmptySlots()(Code) | | |
incUsedSlots | protected synchronized void incUsedSlots()(Code) | | |
size | public synchronized int size()(Code) | | Return the number of elements in the buffer.
This is only a snapshot value, that may change
immediately after returning.
|
|
|
|