EDU.oswego.cs.dl.util.concurrent.misc
public class CVBuffer extends Object implements BoundedChannel
Constructor Summary | |
---|---|
CVBuffer(int cap) | |
CVBuffer() |
Method Summary | |
---|---|
int | capacity() |
boolean | offer(Object x, long msecs) |
Object | peek() |
Object | poll(long msecs) |
void | put(Object x) |
Object | take() |