Package com.oracle.truffle.api
Interface TruffleSafepoint.CompiledInterruptible<T>
- All Superinterfaces:
TruffleSafepoint.Interruptible<T>
- Enclosing class:
TruffleSafepoint
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface TruffleSafepoint.CompiledInterruptible<T>
extends TruffleSafepoint.Interruptible<T>
Just like
TruffleSafepoint.Interruptible
but allows partial evaluation.- Since:
- 21.1
-
Method Summary
-
Method Details
-
apply
Runs the interruptable method for a given object.- Specified by:
apply
in interfaceTruffleSafepoint.Interruptible<T>
- Throws:
InterruptedException
- Since:
- 21.1
-