de.uplanet.lucy.server.scripting.groovy
Class CheckInterruptedClosure

java.lang.Object
  extended by groovy.lang.GroovyObjectSupport
      extended by groovy.lang.Closure
          extended by de.uplanet.lucy.server.scripting.groovy.CheckInterruptedClosure
All Implemented Interfaces:
groovy.lang.GroovyObject, java.io.Serializable, java.lang.Cloneable, java.lang.Runnable

@Scriptable
public final class CheckInterruptedClosure
extends groovy.lang.Closure

Version:
$Revision: 70255 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class groovy.lang.Closure
DELEGATE_FIRST, DELEGATE_ONLY, DONE, OWNER_FIRST, OWNER_ONLY, SKIP, TO_SELF
 
Constructor Summary
CheckInterruptedClosure(java.lang.String p_strMessage)
           
CheckInterruptedClosure(java.lang.String p_strMessage, long p_lTimeLimit)
           
 
Method Summary
 java.lang.Object call()
           
 java.lang.Object doCall()
           
 int getMaximumNumberOfParameters()
           
 
Methods inherited from class groovy.lang.Closure
asWritable, call, call, clone, curry, getDelegate, getDirective, getOwner, getParameterTypes, getProperty, getResolveStrategy, getThisObject, isCase, ncurry, rcurry, run, setDelegate, setDirective, setProperty, setResolveStrategy
 
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, invokeMethod, setMetaClass
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckInterruptedClosure

public CheckInterruptedClosure(java.lang.String p_strMessage)
Parameters:
p_strMessage - A message for the InterruptedException.

CheckInterruptedClosure

public CheckInterruptedClosure(java.lang.String p_strMessage,
                               long p_lTimeLimit)
Parameters:
p_strMessage - A message for the InterruptedException.
p_lTimeLimit - The time after that an InterruptedException is being thrown by this closure.
Method Detail

call

public java.lang.Object call()
Overrides:
call in class groovy.lang.Closure

doCall

public java.lang.Object doCall()

getMaximumNumberOfParameters

public int getMaximumNumberOfParameters()
Overrides:
getMaximumNumberOfParameters in class groovy.lang.Closure
Returns:
Always 0.


Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.