Class Executors

java.lang.Object
uno.anahata.ai.Executors

public class Executors extends Object
Provides a shared, cached thread pool for general-purpose asynchronous tasks.

Threads created by this executor are named with an "Anahata-" prefix and a sequential ID. Unlike AnahataExecutors, these threads are NOT configured as daemons by default.

Author:
anahata
  • Field Details

    • cachedThreadPool

      public static ExecutorService cachedThreadPool
      A shared ExecutorService that creates new threads as needed and reuses them when available.
  • Constructor Details

    • Executors

      public Executors()