public static final class RubyThread.SleepTask extends Object implements RubyThread.BlockingTask
public 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-2017 JRuby. All Rights Reserved.