public class InstanceConfig extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_FLOW_CONTROL_PERIOD_MS
The default value of the
flow-control period . |
Constructor and Description |
---|
InstanceConfig() |
Modifier and Type | Method and Description |
---|---|
int |
getCooperativeThreadCount()
Returns the number of cooperative execution threads.
|
int |
getFlowControlPeriodMs()
Returns the
flow-control period in milliseconds. |
String |
getTempDir()
Returns Jet's temp directory.
|
InstanceConfig |
setCooperativeThreadCount(int size)
Sets the number of threads each cluster member will use to execute Jet
jobs.
|
InstanceConfig |
setFlowControlPeriodMs(int flowControlPeriodMs)
While executing a Jet job there is the issue of regulating the rate
at which one member of the cluster sends data to another member.
|
InstanceConfig |
setTempDir(String tempDir)
Sets the directory where Jet can place its temporary working files.
|
public static final int DEFAULT_FLOW_CONTROL_PERIOD_MS
flow-control period
.public InstanceConfig setCooperativeThreadCount(int size)
public int getCooperativeThreadCount()
public InstanceConfig setTempDir(String tempDir)
public String getTempDir()
public InstanceConfig setFlowControlPeriodMs(int flowControlPeriodMs)
public int getFlowControlPeriodMs()
flow-control period
in milliseconds.Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.