public final class SynchBufMultiProd<E> extends SynchBufSingleProd<E>
SynchBufSingleProd only in
the extra synchronization it applies to the put(Object) method
in order to impose mutual exclusion on the producer threads' access
to the buffer.| Constructor and Description |
|---|
SynchBufMultiProd()
Constructs a new multi-producer synchronized buffer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
put(E item)
Producer side of a synchronized distributed exchange via this buffer.
|
getpublic SynchBufMultiProd()
public final void put(E item) throws java.lang.InterruptedException
put in class SynchBufSingleProd<E>java.lang.InterruptedException