jruby/docs BETA
Navigation
org.jruby.ext.fiber 3
C FiberQueue
C ThreadFiber
C ThreadFiberLibrary
FiberQueue — members 8
C new(runtime)
C check_shutdown()
M pop(context) FiberRequest
C push(context, arg)
M queue_safe() FiberRequest>
M shutdown(context) IRubyObject
C shutdown()
M shutdown?() boolean

org.jruby.ext.fiber.FiberQueue

class 8 members

A RubyThread-aware BlockingQueue wrapper used by Fiber for transferring values.

Constructors

new

new ( Ruby runtime )
Java: <init>(org.jruby.Ruby runtime)

Instance Methods

check_shutdown

check_shutdown ( )
Java: checkShutdown()

pop

ThreadFiber.FiberRequest pop ( ThreadContext context )
Java: pop(org.jruby.runtime.ThreadContext context)

push

push ( ThreadContext context, ThreadFiber.FiberRequest arg )
Java: push(org.jruby.runtime.ThreadContext context, org.jruby.ext.fiber.ThreadFiber.FiberRequest arg)

queue_safe

BlockingQueue<ThreadFiber.FiberRequest> queue_safe ( )
Java: getQueueSafe() · also: get_queue_safe

shutdown

IRubyObject shutdown ( ThreadContext context )
Java: shutdown(org.jruby.runtime.ThreadContext context)

shutdown

shutdown ( )
Java: shutdown()

shutdown?

boolean shutdown? ( )
Java: isShutdown() · also: is_shutdown