Interface RenderTask


public interface RenderTask
A nonblocking task handle. Progress, cancellation and completion observation are safe from any thread.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Cooperatively cancels from any thread; returns true only when cancellation wins, false after any terminal outcome.
    Returns the immutable frame or typed failure; continuations have no server-thread guarantee.
    id()
    Returns the provider-assigned task identifier.
    Returns actual-work progress in 0..10000 basis points; repeated snapshots may be equal and failures retain the last value.
    Returns the current coarse lifecycle state.
  • Method Details

    • id

      UUID id()
      Returns the provider-assigned task identifier.
    • status

      RenderStatus status()
      Returns the current coarse lifecycle state.
    • progress

      RenderProgress progress()
      Returns actual-work progress in 0..10000 basis points; repeated snapshots may be equal and failures retain the last value.
    • cancel

      boolean cancel()
      Cooperatively cancels from any thread; returns true only when cancellation wins, false after any terminal outcome.
    • completion

      Returns the immutable frame or typed failure; continuations have no server-thread guarantee. Never block the server thread.