|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object be.ac.ua.broker.allocation.spot.model.SpotModelOptions
public class SpotModelOptions
Constants used by the application, this can be extracted to an XML input file in the future. These constants specify the model that will be simulated by the application. Note that the time of a checkpoint, its overhead, the waiting and the recovery times are fixed here.
Field Summary | |
---|---|
static int |
CENTRAL_W
Task length (for W_inst, workload per instance) |
static java.lang.String |
CHECKPOINTING_SCHEME
Checkpointing scheme to use when determining the appropriate bid for the broker |
static java.lang.Double |
CONFIDENCE_LEVEL
Confidence level to use when determining the appropriate bid for the broker |
static int |
HR_CKPT
Hourly checkpointing |
static java.lang.String |
INPUT_FOLDER
Input folder where the spot price history can be found |
static int |
INTERVAL_EX
Each field of the distribution graph represents 60 minutes |
static int |
INTERVAL_GW
Each field of the distribution graph has 1 minute |
static int |
INTERVAL_SIMU
Interval of a simulation in minutes (default: 60) |
static double |
INTERVAL_TC
Each field of distribution graph has 0.01 USD |
static int |
INTERVAL_W
Interval to differentiate task length with |
static int |
MAX_CHECKPOINT
Number of available checkpointing schemes |
static int |
MAX_DIST_AR
Maximum availability ratio (AR=AT/ET) (default: 100 = 0.01 ~ 1.00 ratio) |
static int |
MAX_DIST_EX
Maximum execution time (default: 1000 = 60 mins = 1 hour |
static int |
MAX_DIST_GW
Maximum gross workload (default: 1000 = 1 mins ~ 1,000 mins) |
static int |
MAX_DIST_TC
Maximum total cost (default: 1000 = 0.01 USD ~ 10 USD) |
static int |
MAX_DIST_UR
Maximum utilization ratio (UR=T/ET) (default: 100 = 0.01 ~ 1.00 ratio) |
static int |
MAX_GRAN_BID
Maximum granularity of a bid (default: 2000 = 0.001 ~ 2.000) |
static int |
MAX_RECORD
Maximum number of records to process e.g. |
static int |
MAX_SIMU_RECORD
Maximum number of simulations (default: 1000 different starting time) |
static int |
OPT_CKPT
Optimal checkpointing |
static java.lang.String |
OUTPUT_FOLDER
Output folder where the results will be stored |
static boolean |
PRINTOUTPUT
Whether or not to print debug output |
static int |
RANGE_W
Maximum differentiation made from original task length (CENTRAL_W) |
static int |
TIME_CHECKPOINT
Checkpointing time in minutes (default = 5) |
static double |
TIME_CHKOVERHEAD
Checkpointing overhead time in minutes (default = 3 seconds) |
static int |
TIME_RECOVERY
Recovery time in minutes (default = 10) |
static int |
TIME_WAITING
Waiting time in minutes (default = 0) |
Constructor Summary | |
---|---|
SpotModelOptions()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MAX_RECORD
public static final int MAX_GRAN_BID
public static final int MAX_SIMU_RECORD
public static final int INTERVAL_SIMU
public static final int MAX_CHECKPOINT
public static final int OPT_CKPT
public static final int HR_CKPT
public static final double TIME_CHKOVERHEAD
public static final int TIME_CHECKPOINT
public static final int TIME_WAITING
public static final int TIME_RECOVERY
public static final int MAX_DIST_AR
public static final int MAX_DIST_UR
public static final int MAX_DIST_EX
public static final int INTERVAL_EX
public static final int MAX_DIST_GW
public static final int INTERVAL_GW
public static final int MAX_DIST_TC
public static final double INTERVAL_TC
public static final int CENTRAL_W
public static final int INTERVAL_W
public static final int RANGE_W
public static final java.lang.String INPUT_FOLDER
public static final java.lang.String OUTPUT_FOLDER
public static final java.lang.String CHECKPOINTING_SCHEME
public static final java.lang.Double CONFIDENCE_LEVEL
public static boolean PRINTOUTPUT
Constructor Detail |
---|
public SpotModelOptions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |