Uses of Class
com.tnsai.thread.ThreadSpec
Packages that use ThreadSpec
-
Uses of ThreadSpec in com.tnsai.thread
Methods in com.tnsai.thread that return ThreadSpecModifier and TypeMethodDescriptionThreadSpec.Builder.build()static ThreadSpecThreadSpec.defaults()Create a default configuration.AgentThread.getSpec()static ThreadSpecThreadSpec.longRunning()Create a configuration for long-running tasks.static ThreadSpecThreadSpec.shortLived()Create a configuration for short-lived tasks.Methods in com.tnsai.thread with parameters of type ThreadSpecModifier and TypeMethodDescriptionstatic AgentThreadAgentThread.create(ThreadSpec config) Create a new root thread with generated ID.static AgentThreadAgentThread.create(ThreadSpec config, com.tnsai.state.Checkpointer checkpointer) Create a new root thread with a checkpointer.AgentThread.createChild(ThreadSpec childSpec) Create a child thread.ThreadManager.createThread(ThreadSpec config) Create a new thread with the given configuration.ThreadManager.createThread(String threadId, ThreadSpec config) Create a thread with a specific ID.ThreadManager.recoverThread(String threadId, ThreadSpec config) Recover a thread with a specific configuration.static AgentThreadAgentThread.withId(String threadId, ThreadSpec config, com.tnsai.state.Checkpointer checkpointer) Create a thread with a specific ID (for recovery).