org.jruby
Class RubyThread.SleepTask

java.lang.Object
  extended by org.jruby.RubyThread.SleepTask
All Implemented Interfaces:
RubyThread.BlockingTask
Enclosing class:
RubyThread

public static final class RubyThread.SleepTask
extends java.lang.Object
implements RubyThread.BlockingTask


Constructor Summary
RubyThread.SleepTask(java.lang.Object object, long millis, int nanos)
           
 
Method Summary
 void run()
           
 void wakeup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RubyThread.SleepTask

public RubyThread.SleepTask(java.lang.Object object,
                            long millis,
                            int nanos)
Method Detail

run

public void run()
         throws java.lang.InterruptedException
Specified by:
run in interface RubyThread.BlockingTask
Throws:
java.lang.InterruptedException

wakeup

public void wakeup()
Specified by:
wakeup in interface RubyThread.BlockingTask


Copyright © 2002-2009 JRuby Team. All Rights Reserved.