public class Parameters
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Parameters.FTCFailure |
static class |
Parameters.FTCMethod
Fault Tolerant Clustering method
|
static class |
Parameters.FTCMonitor |
static class |
Parameters.PLNMethod
Planning Algorithm (Global Scheduling Algorithm)
|
static class |
Parameters.SCHMethod |
| Modifier and Type | Field and Description |
|---|---|
static int |
BASE |
| Constructor and Description |
|---|
Parameters() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map |
getAlpha()
Gets the task failure rate
|
static java.util.Map |
getBeta()
Gets the job failure rate (not supported yet)
|
static ClusteringParameters |
getClusteringParameters()
Gets the clustering parameters
|
static java.lang.String |
getDatasizePath()
Gets the data size path
|
static java.lang.String |
getDaxPath()
Gets the DAX path
|
static long |
getDeadline() |
static Parameters.FTCFailure |
getFailureGeneratorMode()
Gets the failure generation mode
|
static Parameters.FTCMethod |
getFTCMethod()
Gets the fault tolerant clustering method
|
static Parameters.FTCMonitor |
getMonitorMode()
Gets the fault tolerant clustering monitor mode
|
static OverheadParameters |
getOverheadParams()
Gets the overhead parameters
|
static Parameters.PLNMethod |
getPlannerMode()
Gets the planning method
|
static java.lang.String |
getReduceMethod()
Gets the reducer mode
|
static java.lang.String |
getRuntimePath()
Gets the runtime file path
|
static Parameters.SCHMethod |
getSchedulerMode()
Gets the scheduling method
|
static java.lang.String |
getVersion()
Gets the version
|
static int |
getVmNum()
Gets the vm number
|
static void |
init(Parameters.FTCMethod fMethod,
Parameters.FTCMonitor monitor,
Parameters.FTCFailure failure,
java.util.Map failureList,
int vm,
java.lang.String dax,
java.lang.String runtime,
java.lang.String datasize,
OverheadParameters op,
ClusteringParameters cp,
Parameters.SCHMethod scheduler,
Parameters.PLNMethod planner,
java.lang.String rMethod,
long dl)
A static function so that you can specify them in any place
|
static void |
printVersion() |
static void |
setVmNum(int num)
Sets the vm number
|
public static final int BASE
public static void init(Parameters.FTCMethod fMethod, Parameters.FTCMonitor monitor, Parameters.FTCFailure failure, java.util.Map failureList, int vm, java.lang.String dax, java.lang.String runtime, java.lang.String datasize, OverheadParameters op, ClusteringParameters cp, Parameters.SCHMethod scheduler, Parameters.PLNMethod planner, java.lang.String rMethod, long dl)
fMethod, - the fault tolerant clustering methodmonitor, - the fault tolerant clustering monitorfailure, - the failure generation modefailureList, - the task failure listvm, - the number of vmsdax, - the DAX pathruntime, - optional, the runtime file pathdatasize, - optional, the datasize file pathop, - overhead parameterscp, - clustering parametersscheduler, - scheduling modeplanner, - planning moderMethod - , reducer modedeadline, - deadline of a workflowpublic static OverheadParameters getOverheadParams()
public static java.util.Map getAlpha()
public static java.util.Map getBeta()
public static java.lang.String getReduceMethod()
public static Parameters.FTCFailure getFailureGeneratorMode()
public static Parameters.FTCMonitor getMonitorMode()
public static java.lang.String getDaxPath()
public static java.lang.String getRuntimePath()
public static java.lang.String getDatasizePath()
public static Parameters.FTCMethod getFTCMethod()
public static int getVmNum()
public static void setVmNum(int num)
vmNum - public static ClusteringParameters getClusteringParameters()
public static Parameters.SCHMethod getSchedulerMode()
public static Parameters.PLNMethod getPlannerMode()
public static java.lang.String getVersion()
public static void printVersion()
public static long getDeadline()