- org.codehaus.groovy.transform.TimedInterruptibleASTTransformation
-
@GroovyASTTransformation(phase: CompilePhase.CANONICALIZATION)
class TimedInterruptibleASTTransformation
extends AbstractASTTransformation
Allows "interrupt-safe" executions of scripts by adding timer expiration
checks on loops (for, while, do) and first statement of closures. By default,
also adds an interrupt check statement on the beginning of method calls.
- See Also:
- ThreadInterrupt
- Since:
- 1.8.0
-
-
Methods Summary
-
Inherited Methods Summary
Inherited Methods
Methods inherited from class |
Name |
class AbstractASTTransformation |
addError, checkIncludeExclude, checkIncludeExclude, checkIncludeExcludeUndefinedAware, checkIncludeExcludeUndefinedAware, checkNotInterface, checkPropertyList, checkPropertyList, checkPropertyList, copyAnnotatedNodeAnnotations, copyAnnotatedNodeAnnotations, deemedInternalName, getAnnotationName, getClassList, getMemberClassList, getMemberClassValue, getMemberClassValue, getMemberIntValue, getMemberList, getMemberStringList, getMemberStringValue, getMemberStringValue, getMemberValue, hasAnnotation, init, memberHasValue, nonGeneric, shouldSkip, shouldSkip, shouldSkipOnDescriptor, shouldSkipOnDescriptorUndefinedAware, shouldSkipUndefinedAware, shouldSkipUndefinedAware, tokenize |
-
-
Constructor Detail
-
TimedInterruptibleASTTransformation()
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.