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.BlockingTask
java.lang.InterruptedException
public void wakeup()
wakeup
in interface RubyThread.BlockingTask
Copyright © 2001-2019 JRuby. All Rights Reserved.