public class ExecutorConfiguration extends Object
IgniteCompute.withAsync()
for more information.Constructor and Description |
---|
ExecutorConfiguration()
Default constructor.
|
ExecutorConfiguration(ExecutorConfiguration other)
Copying constructor.
|
ExecutorConfiguration(String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get thread pool name.
|
int |
getSize()
Get thread pool size.
|
ExecutorConfiguration |
setName(String name)
Set thread pool name.
|
ExecutorConfiguration |
setSize(int size)
Set thread pool size.
|
String |
toString() |
public ExecutorConfiguration()
public ExecutorConfiguration(String name)
name
- Thread pool name.public ExecutorConfiguration(ExecutorConfiguration other)
other
- Instance to copy.public String getName()
See setName(String)
for more information.
public ExecutorConfiguration setName(String name)
null
and should be unique with respect to other custom executors.name
- Executor name.this
for chaining.public int getSize()
See setSize(int)
for more information.
public ExecutorConfiguration setSize(int size)
Defaults to IgniteConfiguration.DFLT_PUBLIC_THREAD_CNT
.
size
- Thread pool size.this
for chaining.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024