jruby/docs BETA
Navigation
org.jruby.RubyThread 9
C Backtrace
I BlockingTask
C Location
I ReadWrite
I RegexMatch
C SleepTask
E Status
I Task
I Unblocker
ReadWrite — members 3
M run(context, data, bytes, start, length) int
M run(context, data, bytes, start, length) int
C wakeup(thread, data)

org.jruby.RubyThread.ReadWrite

interface abstract implements RubyThread.Unblocker<Data> 3 members

Instance Methods

run

int run ( ThreadContext context, Data data, byte[] bytes, int start, int length )
Java: run(org.jruby.runtime.ThreadContext context, Data data, byte[] bytes, int start, int length)
Deprecated. Prefer version that receives ByteBuffer rather than recreating every time.

run

int run ( ThreadContext context, Data data, ByteBuffer bytes, int start, int length )
Java: run(org.jruby.runtime.ThreadContext context, Data data, java.nio.ByteBuffer bytes, int start, int length)

wakeup

wakeup ( RubyThread thread, Data data )
Java: wakeup(org.jruby.RubyThread thread, Data data)