public static final class RubyThread.SleepTask extends Object implements RubyThread.BlockingTask
| Constructor and Description |
|---|
RubyThread.SleepTask(Object object,
long millis,
int nanos) |
public RubyThread.SleepTask(Object object, long millis, int nanos)
public void run()
throws InterruptedException
run in interface RubyThread.BlockingTaskInterruptedExceptionpublic void wakeup()
wakeup in interface RubyThread.BlockingTaskCopyright © 2001-2015 JRuby. All Rights Reserved.