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.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019