| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final RubyThread. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized IRubyObject | |
| public RubyNumeric | |
| public synchronized IRubyObject | |
| public RubyNumeric | |
| protected boolean | |
| public boolean | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| private IRubyObject | |
| public static RubyClass |
| blockingPutTask | back to summary |
|---|---|
| private final RubyThread. | |
| SizedQueue | back to summary |
|---|---|
| protected SizedQueue(Ruby runtime, RubyClass type) | |
| SizedQueue | back to summary |
|---|---|
| public SizedQueue(Ruby runtime, RubyClass type, int max) | |
| initialize | back to summary |
|---|---|
| public synchronized IRubyObject initialize(ThreadContext context, IRubyObject arg) Overrides org.
| |
| max | back to summary |
|---|---|
public RubyNumeric max(ThreadContext context)
| |
| max_set | back to summary |
|---|---|
public synchronized IRubyObject max_set(ThreadContext context, IRubyObject arg)
| |
| num_waiting | back to summary |
|---|---|
| public RubyNumeric num_waiting(ThreadContext context) Overrides org.
| |
| offerInternal | back to summary |
|---|---|
| protected boolean offerInternal(ThreadContext context, IRubyObject e) | |
| offerInternal | back to summary |
|---|---|
| public boolean offerInternal(ThreadContext context, IRubyObject e, long timeout, TimeUnit unit) throws InterruptedException | |
| push | back to summary |
|---|---|
| public IRubyObject push(ThreadContext context, final IRubyObject arg0) Overrides org.
| |
| push | back to summary |
|---|---|
public IRubyObject push(ThreadContext context, final IRubyObject arg0, final IRubyObject nonblockOrOpts)
| |
| push | back to summary |
|---|---|
public IRubyObject push(ThreadContext context, final IRubyObject arg0, final IRubyObject _nonblock, IRubyObject _opts)
| |
| push | back to summary |
|---|---|
| public IRubyObject push(ThreadContext context, final IRubyObject[] argv)
Deprecated
| |
| pushCommon | back to summary |
|---|---|
| private IRubyObject pushCommon(ThreadContext context, IRubyObject arg0, boolean nonblock, long timeoutNS) | |
| setup | back to summary |
|---|---|
| public static RubyClass setup(ThreadContext context, RubyClass Thread, RubyClass Queue, RubyClass Object) | |
| Modifier and Type | Field and Description |
|---|---|
| private final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public IRubyObject | |
| public void |
| timeoutNS | back to summary |
|---|---|
| private final long timeoutNS | |
| BlockingOfferTask | back to summary |
|---|---|
| public BlockingOfferTask(long timeoutNS) | |
| run | back to summary |
|---|---|
| public IRubyObject run(ThreadContext context, IRubyObject value) throws InterruptedException Implements org.
| |
| wakeup | back to summary |
|---|---|
| public void wakeup(RubyThread thread, IRubyObject sizedQueue) Implements org.
| |