Class CheckInterruptedClosure

    • Field Summary

      • Fields inherited from class groovy.lang.Closure

        DELEGATE_FIRST, DELEGATE_ONLY, DONE, IDENTITY, OWNER_FIRST, OWNER_ONLY, SKIP, TO_SELF
    • 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
      • Methods inherited from class groovy.lang.GroovyObjectSupport

        getMetaClass, setMetaClass
      • Methods inherited from interface groovy.lang.GroovyObject

        invokeMethod
    • Constructor Detail

      • CheckInterruptedClosure

        public CheckInterruptedClosure​(String p_strMessage)
        Parameters:
        p_strMessage - A message for the InterruptedException.
      • CheckInterruptedClosure

        public CheckInterruptedClosure​(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

      • doCall

        public Object doCall()
      • getMaximumNumberOfParameters

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