public interface SchedulerPoolsConfig
Executor
s for the scheduler service.Modifier and Type | Method and Description |
---|---|
OptionalInt |
getCpuIntensivePoolSize() |
OptionalInt |
getCpuIntensiveQueueSize() |
OptionalInt |
getCpuLightPoolSize() |
OptionalInt |
getCpuLightQueueSize() |
OptionalLong |
getGracefulShutdownTimeout() |
OptionalInt |
getIoCorePoolSize() |
OptionalLong |
getIoKeepAlive() |
OptionalInt |
getIoMaxPoolSize() |
OptionalInt |
getIoQueueSize() |
String |
getThreadNamePrefix() |
OptionalLong getGracefulShutdownTimeout()
OptionalInt getCpuLightPoolSize()
cpu_lite
pool, even if they are idle.OptionalInt getCpuLightQueueSize()
cpu_lite
tasks before they are executed.OptionalInt getIoCorePoolSize()
I/O
pool.OptionalInt getIoMaxPoolSize()
I/O
pool.OptionalInt getIoQueueSize()
I/O
tasks before they are executed.OptionalLong getIoKeepAlive()
I/O
pool is greater than getIoCorePoolSize()
, this is the maximum
time (in milliseconds) that excess idle threads will wait for new tasks before terminating.OptionalInt getCpuIntensivePoolSize()
cpu_intensive
pool, even if they are idle.OptionalInt getCpuIntensiveQueueSize()
cpu_intensive
tasks before they are executed.String getThreadNamePrefix()
Copyright © 2018. All rights reserved.