Interface Engine.CancellationCallback
- Enclosing class:
Engine
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A callback that is invoked repeatedly while persisting the auxiliary engine cache.
The callback may be polled during compilation preparation. Some hosts may also support low-level auxiliary image persistence cancellation for host-specific callback implementations with additional runtime constraints.
- Since:
- 25.1
-
Method Summary
-
Method Details
-
shouldCancel
boolean shouldCancel()- Returns:
- whether auxiliary engine cache persistence should be cancelled.
- Since:
- 25.1
-