public static final class RubyThread.SleepTask extends java.lang.Object implements RubyThread.BlockingTask
| Constructor and Description |
|---|
SleepTask(java.lang.Object object,
long millis,
int nanos) |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
void |
wakeup() |
public void run()
throws java.lang.InterruptedException
run in interface RubyThread.BlockingTaskjava.lang.InterruptedExceptionpublic void wakeup()
wakeup in interface RubyThread.BlockingTaskCopyright © 2001-2019 JRuby. All Rights Reserved.