Class CheckInterruptedClosure
- java.lang.Object
-
- groovy.lang.GroovyObjectSupport
-
- groovy.lang.Closure<Object>
-
- de.uplanet.lucy.server.scripting.groovy.CheckInterruptedClosure
-
- All Implemented Interfaces:
groovy.lang.GroovyCallable<Object>
,groovy.lang.GroovyObject
,Serializable
,Cloneable
,Runnable
,Callable<Object>
@Scriptable public final class CheckInterruptedClosure extends groovy.lang.Closure<Object>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CheckInterruptedClosure(String p_strMessage)
CheckInterruptedClosure(String p_strMessage, long p_lTimeLimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
call()
Object
doCall()
int
getMaximumNumberOfParameters()
-
Methods inherited from class groovy.lang.Closure
andThen, andThenSelf, andThenSelf, asWritable, call, call, clone, compose, composeSelf, composeSelf, curry, curry, dehydrate, getDelegate, getDirective, getOwner, getParameterTypes, getProperty, getResolveStrategy, getThisObject, isCase, leftShift, leftShift, memoize, memoizeAtLeast, memoizeAtMost, memoizeBetween, ncurry, ncurry, rcurry, rcurry, rehydrate, rightShift, run, setDelegate, setDirective, setProperty, setResolveStrategy, trampoline, trampoline
-
-
-
-
Constructor Detail
-
CheckInterruptedClosure
public CheckInterruptedClosure(String p_strMessage)
- Parameters:
p_strMessage
- A message for theInterruptedException
.
-
CheckInterruptedClosure
public CheckInterruptedClosure(String p_strMessage, long p_lTimeLimit)
- Parameters:
p_strMessage
- A message for theInterruptedException
.p_lTimeLimit
- The time after that anInterruptedException
is being thrown by this closure.
-
-