Index

B C E F G I M N O Q S T U V 
All Classes and Interfaces|All Packages

B

build() - Method in interface com.palantir.nylon.threads.NylonExecutor.BuildStage
 
builder() - Static method in class com.palantir.nylon.threads.NylonExecutor
 

C

com.palantir.nylon.threads - package com.palantir.nylon.threads
 

E

executor(Executor) - Method in interface com.palantir.nylon.threads.NylonExecutor.ExecutorStage
Sets the delegate Executor on which tasks are executed.

F

factory() - Method in interface com.palantir.nylon.threads.VirtualThreads.VirtualThreadSupport.VirtualThreadBuilder
 

G

get() - Static method in class com.palantir.nylon.threads.VirtualThreads
 

I

inheritInheritableThreadLocals(boolean) - Method in interface com.palantir.nylon.threads.VirtualThreads.VirtualThreadSupport.VirtualThreadBuilder
 
isVirtual(Thread) - Static method in class com.palantir.nylon.threads.VirtualThreads
 
isVirtual(Thread) - Method in interface com.palantir.nylon.threads.VirtualThreads.VirtualThreadSupport
Returns true if thread is virtual, false otherwise.

M

maxThreads(int) - Method in interface com.palantir.nylon.threads.NylonExecutor.MaxThreadsStage
Configures the maximum threads allowed for concurrent execution through this executor facade.

N

name(String) - Method in interface com.palantir.nylon.threads.VirtualThreads.VirtualThreadSupport.VirtualThreadBuilder
Sets the threads name.
name(String, long) - Method in interface com.palantir.nylon.threads.VirtualThreads.VirtualThreadSupport.VirtualThreadBuilder
Sets the threads name prefix, and the starting value of a counter which is appended to the prefix and incremented for subsequent threads.
name(String) - Method in interface com.palantir.nylon.threads.NylonExecutor.NameStage
Configure the executor name.
newThreadPerTaskExecutor(ThreadFactory) - Method in interface com.palantir.nylon.threads.VirtualThreads.VirtualThreadSupport
Equivalent to Executors.newThreadPerTaskExecutor(threadFactory) on jdk-21+.
NylonExecutor - Class in com.palantir.nylon.threads
Factory utility to create an executor facade to share access to a single delegate executor.
NylonExecutor.BuildStage - Interface in com.palantir.nylon.threads
 
NylonExecutor.ExecutorStage - Interface in com.palantir.nylon.threads
 
NylonExecutor.MaxThreadsStage - Interface in com.palantir.nylon.threads
 
NylonExecutor.NameStage - Interface in com.palantir.nylon.threads
 
NylonExecutor.QueueSizeStage - Interface in com.palantir.nylon.threads
 

O

ofVirtual() - Method in interface com.palantir.nylon.threads.VirtualThreads.VirtualThreadSupport
Alias to the jdk-21 Thread.ofVirtual() API.

Q

queueSize(int) - Method in interface com.palantir.nylon.threads.NylonExecutor.QueueSizeStage
Configures the maximum queue size for this executor facade.

S

setThreadName(Thread, String) - Static method in class com.palantir.nylon.threads.ThreadNames
Sets the name of a java thread without native overhead to rename the OS thread.
start(Runnable) - Method in interface com.palantir.nylon.threads.VirtualThreads.VirtualThreadSupport.VirtualThreadBuilder
 

T

ThreadNames - Class in com.palantir.nylon.threads
Utility functionality to rename threads as efficiently as possible.

U

uncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Method in interface com.palantir.nylon.threads.NylonExecutor.BuildStage
Provide an Thread.UncaughtExceptionHandler, otherwise a default logging implementation will be used.
uncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Method in interface com.palantir.nylon.threads.VirtualThreads.VirtualThreadSupport.VirtualThreadBuilder
 
unstarted(Runnable) - Method in interface com.palantir.nylon.threads.VirtualThreads.VirtualThreadSupport.VirtualThreadBuilder
 

V

VirtualThreads - Class in com.palantir.nylon.threads
Utility functionality to allow libraries which compile for earlier JDKs to take advantage of virtual threads features on sufficiently new runtimes.
VirtualThreads.VirtualThreadSupport - Interface in com.palantir.nylon.threads
 
VirtualThreads.VirtualThreadSupport.VirtualThreadBuilder - Interface in com.palantir.nylon.threads
This type is equivalent to the Thread.Builder.OfVirtual returned by Thread.ofVirtual() in JDK-21+.
B C E F G I M N O Q S T U V 
All Classes and Interfaces|All Packages