Index

G H N O S T 
All Classes and Interfaces|All Packages

G

getCurrentJVMClassVersion() - Static method in class one.tranic.t.thread.Sys
 
getCurrentJVMVersion() - Static method in class one.tranic.t.thread.Sys
Retrieves the current JVM version as an integer.
getExecutor() - Static method in class one.tranic.t.thread.T2hread
Provides an ExecutorService with specific configuration by default.
getExecutor(int, int, long, TimeUnit, BlockingQueue<Runnable>) - Static method in class one.tranic.t.thread.T2hread
Creates and returns an ExecutorService instance.
getPureExecutor(int, int, long, TimeUnit, BlockingQueue<Runnable>) - Static method in class one.tranic.t.thread.T2hread
Creates and returns an ExecutorService using the specified parameters.

H

hasClass(String) - Static method in class one.tranic.t.thread.Sys
Checks whether a class with the specified fully qualified name exists in the classpath.

N

newThread(Runnable) - Static method in class one.tranic.t.thread.T2hread
Creates a new thread to execute the provided Runnable task.
newThread(Runnable, String) - Static method in class one.tranic.t.thread.T2hread
Creates a new thread using the provided Runnable and assigns it the specified name.
newThread(Runnable, String, boolean) - Static method in class one.tranic.t.thread.T2hread
Creates a new thread with the given runnable, name, and daemon status.
newThread(Runnable, String, boolean, Thread.UncaughtExceptionHandler) - Static method in class one.tranic.t.thread.T2hread
Creates a new thread with the specified configuration.
newVirtualThreadFactoryOrDefault() - Static method in class one.tranic.t.thread.T2hread
Creates a new virtual thread factory if supported by the current JVM; otherwise, falls back to the default thread factory implementation.
newVirtualThreadPerTaskExecutor() - Static method in class one.tranic.t.thread.T2hread
Creates a new ExecutorService that assigns a virtual thread to each submitted task.
newVirtualThreadPerTaskExecutorOrProvided(ExecutorService) - Static method in class one.tranic.t.thread.T2hread
Creates a new virtual thread-per-task executor if supported by the runtime environment, otherwise returns the provided fallback executor.

O

one.tranic.t.thread - package one.tranic.t.thread
 

S

Sys - Class in one.tranic.t.thread
 
Sys() - Constructor for class one.tranic.t.thread.Sys
 

T

T2hread - Class in one.tranic.t.thread
Provides utility methods for working with threads, including creating virtual threads, thread factories, and executors.
T2hread() - Constructor for class one.tranic.t.thread.T2hread
 
G H N O S T 
All Classes and Interfaces|All Packages