org.jruby.ext
Class Timeout

java.lang.Object
  extended by org.jruby.ext.Timeout
All Implemented Interfaces:
Library

public class Timeout
extends java.lang.Object
implements Library


Nested Class Summary
static class Timeout.TimeoutToplevel
           
 
Constructor Summary
Timeout()
           
 
Method Summary
 void load(Ruby runtime, boolean wrap)
           
static IRubyObject timeout(ThreadContext context, IRubyObject timeout, IRubyObject seconds, Block block)
           
static IRubyObject timeout(ThreadContext context, IRubyObject timeout, IRubyObject seconds, IRubyObject exceptionType, Block block)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Timeout

public Timeout()
Method Detail

load

public void load(Ruby runtime,
                 boolean wrap)
          throws java.io.IOException
Specified by:
load in interface Library
Throws:
java.io.IOException

timeout

public static IRubyObject timeout(ThreadContext context,
                                  IRubyObject timeout,
                                  IRubyObject seconds,
                                  Block block)

timeout

public static IRubyObject timeout(ThreadContext context,
                                  IRubyObject timeout,
                                  IRubyObject seconds,
                                  IRubyObject exceptionType,
                                  Block block)


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