Package 

Object AdapterRegistry


  • 
    public class AdapterRegistry
    
                        

    Maps an inference kind to the engine that implements it. The single routing point of the thin interpreter — engines self-register at startup; selection is by kind only (never taskType/framework).

    • Method Summary

      Modifier and Type Method Description
      final Unit register(AdapterFactory factory)
      final List<Capability> all() Every kind the SDK can currently run (e.g.
      final AdapterFactory find(String kind) The engine for kind, or null → the model is not runnable on-device (→ cloud fallback).
      final Unit clear() Test-only: reset registered engines.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait