Package org.ldaptive.transport
Class ThreadPoolConfig.Builder
- java.lang.Object
-
- org.ldaptive.transport.ThreadPoolConfig.Builder
-
- Enclosing class:
- ThreadPoolConfig
public static final class ThreadPoolConfig.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private ThreadPoolConfig
object
-
Constructor Summary
Constructors Modifier Constructor Description private
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreadPoolConfig
build()
ThreadPoolConfig.Builder
freeze()
ThreadPoolConfig.Builder
ioThreads(int count)
ThreadPoolConfig.Builder
messageThreads(int count)
ThreadPoolConfig.Builder
shutdownStrategy(ThreadPoolConfig.ShutdownStrategy strategy)
ThreadPoolConfig.Builder
threadPoolName(String name)
-
-
-
Field Detail
-
object
private final ThreadPoolConfig object
-
-
Method Detail
-
freeze
public ThreadPoolConfig.Builder freeze()
-
threadPoolName
public ThreadPoolConfig.Builder threadPoolName(String name)
-
ioThreads
public ThreadPoolConfig.Builder ioThreads(int count)
-
messageThreads
public ThreadPoolConfig.Builder messageThreads(int count)
-
shutdownStrategy
public ThreadPoolConfig.Builder shutdownStrategy(ThreadPoolConfig.ShutdownStrategy strategy)
-
build
public ThreadPoolConfig build()
-
-