Top Fields Constructors Methods
org.jruby.internal.runtime

public Class RubyRunnable

extends Object
implements ThreadedRunnable
Class Inheritance
All Implemented Interfaces
org.jruby.internal.runtime.ThreadedRunnable, java.lang.Runnable
Imports
org.jruby.Ruby, .RubyModule, .RubyProc, .RubyThread, org.jruby.exceptions.JumpException, .MainExitException, .ThreadKill, org.jruby.ir.runtime.IRBreakJump, .IRRuntimeHelpers, org.jruby.runtime.Block, .Helpers, .RubyEvent, .ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.util.log.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private final IRubyObject[]
private final int
private volatile ThreadContext
private Thread
private static final Logger
private final RubyProc
private final RubyThread
private final Ruby
private static boolean

Constructor Summary

AccessConstructor and Description
public
RubyRunnable(RubyThread rubyThread, ThreadContext creatorContext, IRubyObject[] args, Block currentBlock, int callInfo)

Method Summary

Modifier and TypeMethod and Description
public Thread
public RubyThread
getRubyThread()
Deprecated

public void
run()

Implements org.jruby.internal.runtime.ThreadedRunnable.run.

Runs this operation.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

argumentsback to summary
private final IRubyObject[] arguments
callInfoback to summary
private final int callInfo
creatorContextback to summary
private volatile ThreadContext creatorContext
javaThreadback to summary
private Thread javaThread
LOGback to summary
private static final Logger LOG
procback to summary
private final RubyProc proc
rubyThreadback to summary
private final RubyThread rubyThread
runtimeback to summary
private final Ruby runtime
warnedAboutTCback to summary
private static boolean warnedAboutTC

Constructor Detail

RubyRunnableback to summary
public RubyRunnable(RubyThread rubyThread, ThreadContext creatorContext, IRubyObject[] args, Block currentBlock, int callInfo)

Method Detail

getJavaThreadback to summary
public Thread getJavaThread()

Implements org.jruby.internal.runtime.ThreadedRunnable.getJavaThread.

getRubyThreadback to summary
public RubyThread getRubyThread()

Deprecated

Annotations
@Deprecated
runback to summary
public void run()

Implements org.jruby.internal.runtime.ThreadedRunnable.run.

Doc from java.lang.Runnable.run.

Runs this operation.

Annotations
@Override