| Modifier and Type | Field and Description |
|---|---|
| private static final boolean | |
| private static final JreCompat | |
| private static final boolean | |
| private static final boolean | |
| private static final boolean | |
| private static final boolean | |
| private static final StringManager |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: The thread buidler for virtual threadsThe base name for the threads name)Create a thread builder for virtual threads using the given name to name the threads. |
| public Object | Returns: The executor, if any, that created the provided threadThe thread to examine thread)Obtains the executor, if any, used to create the provided thread. |
| public static JreCompat | |
| public SocketAddress | Returns: the socket addressThe path path)Return Unix domain socket address for given path. |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public ServerSocketChannel | Returns: the server socket channelCreate server socket channel using the Unix domain socket ProtocolFamily. |
| public SocketChannel | Returns: the socket channelCreate socket channel using the Unix domain socket ProtocolFamily. |
| public void | threadBuilderStart(Object
The thread builder to use to create a thread threadBuilder, Runnable The command to run command)Create a thread with the given thread builder and use it to execute the given runnable. |
| graalAvailable | back to summary |
|---|---|
| private static final boolean graalAvailable | |
| instance | back to summary |
|---|---|
| private static final JreCompat instance | |
| jre16Available | back to summary |
|---|---|
| private static final boolean jre16Available | |
| jre19Available | back to summary |
|---|---|
| private static final boolean jre19Available | |
| jre21Available | back to summary |
|---|---|
| private static final boolean jre21Available | |
| jre22Available | back to summary |
|---|---|
| private static final boolean jre22Available | |
| sm | back to summary |
|---|---|
| private static final StringManager sm | |
| JreCompat | back to summary |
|---|---|
| public JreCompat() | |
| createVirtualThreadBuilder | back to summary |
|---|---|
| public Object createVirtualThreadBuilder(String name) Create a thread builder for virtual threads using the given name to name the threads. | |
| getExecutor | back to summary |
|---|---|
| public Object getExecutor(Thread thread) throws NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException Obtains the executor, if any, used to create the provided thread.
| |
| getInstance | back to summary |
|---|---|
| public static JreCompat getInstance() | |
| getUnixDomainSocketAddress | back to summary |
|---|---|
| public SocketAddress getUnixDomainSocketAddress(String path) Return Unix domain socket address for given path.
| |
| isGraalAvailable | back to summary |
|---|---|
| public static boolean isGraalAvailable() | |
| isJre16Available | back to summary |
|---|---|
| public static boolean isJre16Available() | |
| isJre19Available | back to summary |
|---|---|
| public static boolean isJre19Available() | |
| isJre21Available | back to summary |
|---|---|
| public static boolean isJre21Available() | |
| isJre22Available | back to summary |
|---|---|
| public static boolean isJre22Available() | |
| openUnixDomainServerSocketChannel | back to summary |
|---|---|
| public ServerSocketChannel openUnixDomainServerSocketChannel() Create server socket channel using the Unix domain socket ProtocolFamily.
| |
| openUnixDomainSocketChannel | back to summary |
|---|---|
| public SocketChannel openUnixDomainSocketChannel() Create socket channel using the Unix domain socket ProtocolFamily.
| |
| threadBuilderStart | back to summary |
|---|---|
| public void threadBuilderStart(Object threadBuilder, Runnable command) Create a thread with the given thread builder and use it to execute the given runnable. | |