public class PCMonitor<E> extends Object
Constructor and Description |
---|
PCMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this PCMonitor.
|
E |
consume() |
E |
consume(long wait) |
int |
getQueueSize() |
int |
getWaitingConsumers() |
boolean |
isClosed() |
boolean |
isOpen() |
void |
produce(E O) |
void |
produceFront(E O) |
void |
sleepOn() |
public int getWaitingConsumers()
public int getQueueSize()
public void sleepOn()
public E consume()
public E consume(long wait)
public void produce(E O)
public void produceFront(E O)
public void close()
public boolean isClosed()
public boolean isOpen()