NPTLab
Class SettingsValuesSingleton

java.lang.Object
  extended by NPTLab.SettingsValuesSingleton

public class SettingsValuesSingleton
extends java.lang.Object

Class that gets from the settings file the value of the matrixCreationDays, that's the time dedicated to the creation of the the traces of the nodes

Author:
Andrea Campanella, NPTLab, Public university of Milan, 2014

Field Summary
static java.lang.String COMPUTEMATRICES
           
static java.lang.String DAYS
           
static java.lang.String DESTINATIONTHRESHOLD
           
static java.lang.String GROUPSPREADTHRESHOLD
           
static java.lang.String PROFILECAST_ROUTER_NS
          number of days in which the matrices are computed
static java.lang.String STOPMESSAGECREATION
           
 
Constructor Summary
SettingsValuesSingleton()
           
 
Method Summary
static int getComputeMatricesDays()
          Gets and returns from the ProfileCast's settings file the value of the ComputeMatricesDays.
static double getGroupSpreadThreshold()
          Gets and returns from the ProfileCast's settings file the value of the GroupSpreadThreshold.
static int getMatrixCreationDays()
          Gets and returns from the ProfileCast's settings file the value of the matrixCreationDays.
static int getStopMessageCreationTime()
          Gets and return from the ProfileCast's settings file the value of the StopMessageCreationTime.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROFILECAST_ROUTER_NS

public static final java.lang.String PROFILECAST_ROUTER_NS
number of days in which the matrices are computed

See Also:
Constant Field Values

DAYS

public static final java.lang.String DAYS
See Also:
Constant Field Values

GROUPSPREADTHRESHOLD

public static final java.lang.String GROUPSPREADTHRESHOLD
See Also:
Constant Field Values

DESTINATIONTHRESHOLD

public static final java.lang.String DESTINATIONTHRESHOLD
See Also:
Constant Field Values

STOPMESSAGECREATION

public static final java.lang.String STOPMESSAGECREATION
See Also:
Constant Field Values

COMPUTEMATRICES

public static final java.lang.String COMPUTEMATRICES
See Also:
Constant Field Values
Constructor Detail

SettingsValuesSingleton

public SettingsValuesSingleton()
Method Detail

getMatrixCreationDays

public static int getMatrixCreationDays()
Gets and returns from the ProfileCast's settings file the value of the matrixCreationDays.

Returns:
int MatrixCreationDays

getGroupSpreadThreshold

public static double getGroupSpreadThreshold()
Gets and returns from the ProfileCast's settings file the value of the GroupSpreadThreshold.

Returns:
double GroupSpreadThreshold

getStopMessageCreationTime

public static int getStopMessageCreationTime()
Gets and return from the ProfileCast's settings file the value of the StopMessageCreationTime.

Returns:
int StopMessageCreationTime

getComputeMatricesDays

public static int getComputeMatricesDays()
Gets and returns from the ProfileCast's settings file the value of the ComputeMatricesDays.

Returns:
int ComputeMatricesDays