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.

@FunctionalInterface public static interface Engine.CancellationCallback
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

    Modifier and Type
    Method
    Description
    boolean
     
  • Method Details

    • shouldCancel

      boolean shouldCancel()
      Returns:
      whether auxiliary engine cache persistence should be cancelled.
      Since:
      25.1