Package org.jruby
Interface RubyThread.ReadWrite<Data>
- All Superinterfaces:
RubyThread.Unblocker<Data>
- Enclosing class:
RubyThread
-
Method Summary
Modifier and TypeMethodDescriptiondefault intrun(ThreadContext context, Data data, byte[] bytes, int start, int length) Deprecated.Prefer version that receives ByteBuffer rather than recreating every time.intrun(ThreadContext context, Data data, ByteBuffer bytes, int start, int length) voidwakeup(RubyThread thread, Data data)
-
Method Details
-
run
@Deprecated(since="9.4-") default int run(ThreadContext context, Data data, byte[] bytes, int start, int length) throws InterruptedException Deprecated.Prefer version that receives ByteBuffer rather than recreating every time.- Throws:
InterruptedException
-
run
int run(ThreadContext context, Data data, ByteBuffer bytes, int start, int length) throws InterruptedException - Throws:
InterruptedException
-
wakeup
- Specified by:
wakeupin interfaceRubyThread.Unblocker<Data>
-