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