public class FiberQueue
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.BlockingQueue<IRubyObject> |
queue |
protected Ruby |
runtime |
Constructor and Description |
---|
FiberQueue(Ruby runtime) |
Modifier and Type | Method and Description |
---|---|
void |
checkShutdown() |
java.util.concurrent.BlockingQueue<IRubyObject> |
getQueueSafe() |
boolean |
isShutdown() |
IRubyObject |
pop(ThreadContext context) |
IRubyObject |
pop(ThreadContext context,
IRubyObject arg0) |
void |
push(ThreadContext context,
IRubyObject[] args) |
void |
shutdown() |
IRubyObject |
shutdown(ThreadContext context) |
protected java.util.concurrent.BlockingQueue<IRubyObject> queue
protected final Ruby runtime
public FiberQueue(Ruby runtime)
public IRubyObject shutdown(ThreadContext context)
public void shutdown()
public boolean isShutdown()
public java.util.concurrent.BlockingQueue<IRubyObject> getQueueSafe()
public void checkShutdown()
public IRubyObject pop(ThreadContext context)
public IRubyObject pop(ThreadContext context, IRubyObject arg0)
public void push(ThreadContext context, IRubyObject[] args)
Copyright © 2001-2018 JRuby. All Rights Reserved.