|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.uoa.di.madgik.execution.plan.PlanConfig
public class PlanConfig
This class acts as a configuration placeholder for configuration parameters applicable to a single ExecutionPlan and
its execution behavior.
| Nested Class Summary | |
|---|---|
static class |
PlanConfig.ConnectionMode
The type of connection mode the remote connections should have. |
| Field Summary | |
|---|---|
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 |
Utilization
The utilization percentage of each execution node. |
| Constructor Summary | |
|---|---|
PlanConfig()
Instantiates a new plan config. |
|
PlanConfig(String XML)
Instantiates a new plan config. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DefaultConcurrentActionsPerBoundary
public static final float DefaultUtilization
public static final int DefaultPassBy
public static final PlanConfig.ConnectionMode DefaultModeOfConnection
PlanConfig.ConnectionMode.KeepAlive
public 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 Utilization
public int PassedBy
public List<IPlanElement.PlanElementType> RestrictActionTypes
public PlanConfig.ConnectionMode ModeOfConnection
public long ConnectionCallbackTimeout
public boolean ChokeProgressReporting
public boolean ChokePerformanceReporting
| Constructor Detail |
|---|
public PlanConfig()
public PlanConfig(String XML)
throws ExecutionSerializationException
XML - the xML serialization as retrieved by the ToXML()
ExecutionSerializationException - A serialization error occurred| Method Detail |
|---|
public String ToXML()
throws ExecutionSerializationException
ExecutionSerializationException - a serialization error occurred
public void FromXML(String XML)
throws ExecutionSerializationException
ToXML() and populates this instance.
XML - the xML serialization
ExecutionSerializationException - a serialization error occurred
public void FromXML(Node XML)
throws ExecutionSerializationException
ToXML() and populates this instance.
XML - the xML serialization
ExecutionSerializationException - a serialization error occurred
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||