private static class Timeout.TimeoutTask
extends java.lang.Object
implements java.lang.Runnable
| Modifier and Type | Field and Description |
|---|---|
(package private) RubyThread |
currentThread |
(package private) IRubyObject |
exception |
(package private) IRubyObject |
id |
(package private) java.util.concurrent.atomic.AtomicBoolean |
latch |
(package private) IRubyObject |
timeout |
| Modifier | Constructor and Description |
|---|---|
private |
TimeoutTask(RubyThread currentThread,
IRubyObject timeout,
java.util.concurrent.atomic.AtomicBoolean latch,
IRubyObject id,
IRubyObject exception) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static Timeout.TimeoutTask |
newAnnonymousTask(RubyThread currentThread,
IRubyObject timeout,
java.util.concurrent.atomic.AtomicBoolean latch,
IRubyObject id) |
(package private) static Timeout.TimeoutTask |
newTaskWithException(RubyThread currentThread,
IRubyObject timeout,
java.util.concurrent.atomic.AtomicBoolean latch,
IRubyObject exception) |
private void |
raiseAnnonymous() |
private void |
raiseException() |
void |
run() |
final RubyThread currentThread
final java.util.concurrent.atomic.AtomicBoolean latch
final IRubyObject timeout
final IRubyObject id
final IRubyObject exception
private TimeoutTask(RubyThread currentThread, IRubyObject timeout, java.util.concurrent.atomic.AtomicBoolean latch, IRubyObject id, IRubyObject exception)
static Timeout.TimeoutTask newAnnonymousTask(RubyThread currentThread, IRubyObject timeout, java.util.concurrent.atomic.AtomicBoolean latch, IRubyObject id)
static Timeout.TimeoutTask newTaskWithException(RubyThread currentThread, IRubyObject timeout, java.util.concurrent.atomic.AtomicBoolean latch, IRubyObject exception)
public void run()
run in interface java.lang.Runnableprivate void raiseAnnonymous()
private void raiseException()