Class Executors
java.lang.Object
uno.anahata.ai.Executors
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 Summary
FieldsModifier and TypeFieldDescriptionstatic ExecutorServiceA sharedExecutorServicethat creates new threads as needed and reuses them when available. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
cachedThreadPool
A sharedExecutorServicethat creates new threads as needed and reuses them when available.
-
-
Constructor Details
-
Executors
public Executors()
-
