toggle menu
few
jvm
switch theme
search in API
api
/
com.few.api.config.properties
/
ApiThreadPoolProperties
Api
Thread
Pool
Properties
data
class
ApiThreadPoolProperties
(
var
corePoolSize
:
Int
?
=
null
,
var
maxPoolSize
:
Int
?
=
null
,
var
queueCapacity
:
Int
?
=
null
,
var
waitForTasksToCompleteOnShutdown
:
Boolean
?
=
null
,
var
awaitTerminationSeconds
:
Int
?
=
null
)
Members
Constructors
Api
Thread
Pool
Properties
Link copied to clipboard
constructor
(
corePoolSize
:
Int
?
=
null
,
maxPoolSize
:
Int
?
=
null
,
queueCapacity
:
Int
?
=
null
,
waitForTasksToCompleteOnShutdown
:
Boolean
?
=
null
,
awaitTerminationSeconds
:
Int
?
=
null
)
Properties
await
Termination
Seconds
Link copied to clipboard
var
awaitTerminationSeconds
:
Int
?
core
Pool
Size
Link copied to clipboard
var
corePoolSize
:
Int
?
max
Pool
Size
Link copied to clipboard
var
maxPoolSize
:
Int
?
queue
Capacity
Link copied to clipboard
var
queueCapacity
:
Int
?
wait
For
Tasks
To
Complete
On
Shutdown
Link copied to clipboard
var
waitForTasksToCompleteOnShutdown
:
Boolean
?
Functions
get
Await
Termination
Seconds
Link copied to clipboard
fun
getAwaitTerminationSeconds
(
)
:
Int
get
Core
Pool
Size
Link copied to clipboard
fun
getCorePoolSize
(
)
:
Int
get
Max
Pool
Size
Link copied to clipboard
fun
getMaxPoolSize
(
)
:
Int
get
Queue
Capacity
Link copied to clipboard
fun
getQueueCapacity
(
)
:
Int
get
Wait
For
Tasks
To
Complete
On
Shutdown
Link copied to clipboard
fun
getWaitForTasksToCompleteOnShutdown
(
)
:
Boolean