public class Timeout
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXECUTOR_VARIABLE |
Constructor and Description |
---|
Timeout() |
Modifier and Type | Method and Description |
---|---|
static void |
define(RubyModule timeout) |
static void |
load(Ruby runtime) |
static IRubyObject |
timeout(ThreadContext context,
IRubyObject recv,
IRubyObject seconds,
Block block) |
static IRubyObject |
timeout(ThreadContext context,
IRubyObject recv,
IRubyObject seconds,
IRubyObject exceptionType,
Block block) |
static IRubyObject |
timeout(ThreadContext context,
IRubyObject recv,
IRubyObject seconds,
IRubyObject exceptionType,
IRubyObject message,
Block block) |
public static final java.lang.String EXECUTOR_VARIABLE
public static void load(Ruby runtime)
public static void define(RubyModule timeout)
public static IRubyObject timeout(ThreadContext context, IRubyObject recv, IRubyObject seconds, Block block)
public static IRubyObject timeout(ThreadContext context, IRubyObject recv, IRubyObject seconds, IRubyObject exceptionType, Block block)
public static IRubyObject timeout(ThreadContext context, IRubyObject recv, IRubyObject seconds, IRubyObject exceptionType, IRubyObject message, Block block)
Copyright © 2001-2020 JRuby. All Rights Reserved.