Package org.jruby

Interface RubyThread.ReadWrite<Data>

All Superinterfaces:
RubyThread.Unblocker<Data>
Enclosing class:
RubyThread

public static interface RubyThread.ReadWrite<Data> extends RubyThread.Unblocker<Data>
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
    run(ThreadContext context, Data data, byte[] bytes, int start, int length)
    Deprecated.
    Prefer version that receives ByteBuffer rather than recreating every time.
    int
    run(ThreadContext context, Data data, ByteBuffer bytes, int start, int length)
     
    void
    wakeup(RubyThread thread, Data data)