public class PlanConfig extends Object implements Serializable
ExecutionPlan and
its execution behavior.| Modifier and Type | Class and Description |
|---|---|
static class |
PlanConfig.ConnectionMode
The type of connection mode the remote connections should have.
|
| Modifier and Type | Field and Description |
|---|---|
boolean |
ChokePerformanceReporting
Whether performance reporting events should be choked.
|
boolean |
ChokeProgressReporting
Whether progress reporting events should be choked.
|
int |
ConcurrentActionsPerBoundary
The Concurrent actions per boundary.
|
long |
ConnectionCallbackTimeout
The Connection callback timeout.
|
static int |
DefaultConcurrentActionsPerBoundary
The default restriction number for the action elements.
|
static long |
DefaultConnectionCallbackTimeout
The default timeout to use when in
PlanConfig.ConnectionMode.Callback. |
static PlanConfig.ConnectionMode |
DefaultModeOfConnection
The default connection mode.
|
static int |
DefaultPassBy
The default number of times a plan can be passed by without execution.
|
static float |
DefaultUtilization
The default utilization percentage of each execution node.
|
PlanConfig.ConnectionMode |
ModeOfConnection
The Mode of connection.
|
int |
PassedBy
The times a plan can be passed by in a queue.
|
List<IPlanElement.PlanElementType> |
RestrictActionTypes
The Restrict action types.
|
float |
Utiliaztion
The utilization percentage of each execution node.
|
| Constructor and Description |
|---|
PlanConfig()
Instantiates a new plan config.
|
PlanConfig(String XML)
Instantiates a new plan config.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FromXML(Node XML)
Deserializes the provided serialization as created by
ToXML() and populates this instance. |
void |
FromXML(String XML)
Deserializes the provided serialization as created by
ToXML() and populates this instance. |
String |
ToXML()
Serializes the configuration
|
public static final int DefaultConcurrentActionsPerBoundary
public static final float DefaultUtilization
public static final int DefaultPassBy
public static final PlanConfig.ConnectionMode DefaultModeOfConnection
PlanConfig.ConnectionMode.KeepAlivepublic static final long DefaultConnectionCallbackTimeout
PlanConfig.ConnectionMode.Callback. If after the specified period in
milliseconds no connection is made back, the connection is considered inactive. Currently set to 1 hour.public int ConcurrentActionsPerBoundary
public float Utiliaztion
public int PassedBy
public List<IPlanElement.PlanElementType> RestrictActionTypes
public PlanConfig.ConnectionMode ModeOfConnection
public long ConnectionCallbackTimeout
public boolean ChokeProgressReporting
public boolean ChokePerformanceReporting
public PlanConfig()
public PlanConfig(String XML) throws ExecutionSerializationException
XML - the xML serialization as retrieved by the ToXML()ExecutionSerializationException - A serialization error occurredpublic String ToXML() throws ExecutionSerializationException
ExecutionSerializationException - a serialization error occurredpublic void FromXML(String XML) throws ExecutionSerializationException
ToXML() and populates this instance.XML - the xML serializationExecutionSerializationException - a serialization error occurredpublic void FromXML(Node XML) throws ExecutionSerializationException
ToXML() and populates this instance.XML - the xML serializationExecutionSerializationException - a serialization error occurredCopyright © 2015. All Rights Reserved.