@FunctionalInterface public static interface TruffleSafepoint.InterruptibleFunction<T,R>
Lock::lockInterruptibly or Semaphore::acquire. If used directly implies a boundary. Use
TruffleSafepoint.CompiledInterruptibleFunction if you need partial evaluation for this functional
interface.| Modifier and Type | Method and Description |
|---|---|
R |
apply(T arg)
Runs the interruptible method for a given object.
|
R apply(T arg) throws InterruptedException
InterruptedException