Interface NTxProgressBindingHandler


public interface NTxProgressBindingHandler
Handler for registering futures with the document's progress tracking system. Implemented by the progress extension; discovered via SPI when available.

When the progress extension is loaded, the engine delegates NTxCompiledDocument.registerProgressBinding(String, NTxFuture) to this handler.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    register(Object documentKey, String name, NTxFuture<?> future)
    Register a named future for progress tracking.
  • Method Details

    • register

      void register(Object documentKey, String name, NTxFuture<?> future)
      Register a named future for progress tracking.
      Parameters:
      documentKey - the compiled document instance (identity key)
      name - binding name (must match the name used in progress-monitor's select)
      future - the future to track