public final class Trace
extends java.lang.Object
Constructor and Description |
---|
Trace() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
getHostVariablesName()
Get declared user host variables.
|
static java.lang.String[] |
getLinkVariablesName()
Get declared user link variables.
|
static void |
hostPopState(java.lang.String host,
java.lang.String state)
Pop the last value of a state of a given host.
|
static void |
hostPushState(java.lang.String host,
java.lang.String state,
java.lang.String value)
Push a new value for a state of a given host.
|
static void |
hostSetState(java.lang.String host,
java.lang.String state,
java.lang.String value)
Set the user state to the given value.
|
static void |
hostStateDeclare(java.lang.String name)
Declare a user state that will be associated to hosts.
|
static void |
hostStateDeclareValue(java.lang.String state,
java.lang.String value,
java.lang.String color)
Declare a new value for a user state associated to hosts.
|
static void |
hostVariableAdd(java.lang.String host,
java.lang.String variable,
double value)
Add a value to a variable of a host.
|
static void |
hostVariableAddWithTime(double time,
java.lang.String host,
java.lang.String variable,
double value)
Add a value to a variable of a host at a given timestamp.
|
static void |
hostVariableDeclare(java.lang.String variable)
Declare a new user variable associated to hosts.
|
static void |
hostVariableDeclareWithColor(java.lang.String variable,
java.lang.String color)
Declare a new user variable associated to hosts with a color.
|
static void |
hostVariableSet(java.lang.String host,
java.lang.String variable,
double value)
Set the value of a variable of a host.
|
static void |
hostVariableSetWithTime(double time,
java.lang.String host,
java.lang.String variable,
double value)
Set the value of a variable of a host at a given timestamp.
|
static void |
hostVariableSub(java.lang.String host,
java.lang.String variable,
double value)
Subtract a value from a variable of a host.
|
static void |
hostVariableSubWithTime(double time,
java.lang.String host,
java.lang.String variable,
double value)
Subtract a value from a variable of a host at a given timestamp.
|
static void |
linkSrcDstVariableAdd(java.lang.String src,
java.lang.String dst,
java.lang.String variable,
double value)
Add a value to the variable present in the links connecting source and destination.
|
static void |
linkSrcdstVariableAddWithTime(double time,
java.lang.String src,
java.lang.String dst,
java.lang.String variable,
double value)
Add a value to the variable present in the links connecting source and destination at a given timestamp.
|
static void |
linkSrcDstVariableSet(java.lang.String src,
java.lang.String dst,
java.lang.String variable,
double value)
Set the value of the variable present in the links connecting source and destination.
|
static void |
linkSrcDstVariableSetWithTime(double time,
java.lang.String src,
java.lang.String dst,
java.lang.String variable,
double value)
Set the value of the variable present in the links connecting source and destination at a given timestamp.
|
static void |
linkSrcDstVariableSub(java.lang.String src,
java.lang.String dst,
java.lang.String variable,
double value)
Subtract a value from the variable present in the links connecting source and destination.
|
static void |
linkSrcDstVariableSubWithTime(double time,
java.lang.String src,
java.lang.String dst,
java.lang.String variable,
double value)
Subtract a value from the variable present in the links connecting source and destination at a given timestamp.
|
static void |
linkVariableAdd(java.lang.String link,
java.lang.String variable,
double value)
Add a value to a variable of a link.
|
static void |
linkVariableAddWithTime(double time,
java.lang.String link,
java.lang.String variable,
double value)
Add a value to a variable of a link at a given timestamp.
|
static void |
linkVariableDeclare(java.lang.String variable)
Declare a new user variable associated to links.
|
static void |
linkVariableDeclareWithColor(java.lang.String variable,
java.lang.String color)
Declare a new user variable associated to links with a color.
|
static void |
linkVariableSet(java.lang.String link,
java.lang.String variable,
double value)
Set the value of a variable of a link.
|
static void |
linkVariableSetWithTime(double time,
java.lang.String link,
java.lang.String variable,
double value)
Set the value of a variable of a link at a given timestamp.
|
static void |
linkVariableSub(java.lang.String link,
java.lang.String variable,
double value)
Subtract a value from a variable of a link.
|
static void |
linkVariableSubWithTime(double time,
java.lang.String link,
java.lang.String variable,
double value)
Subtract a value from a variable of a link at a given timestamp.
|
static void |
vmVariableDeclare(java.lang.String variable)
Declare a new user variable associated to VMs.
|
static void |
vmVariableSet(java.lang.String vm,
java.lang.String variable,
double value)
Set the value of a variable of a VM.
|
public static final void hostVariableDeclareWithColor(java.lang.String variable, java.lang.String color)
variable
- color
- public static final void hostVariableAdd(java.lang.String host, java.lang.String variable, double value)
host
- variable
- value
- public static final void hostVariableSub(java.lang.String host, java.lang.String variable, double value)
host
- variable
- value
- public static final void hostVariableSetWithTime(double time, java.lang.String host, java.lang.String variable, double value)
time
- host
- variable
- value
- public static final void hostVariableAddWithTime(double time, java.lang.String host, java.lang.String variable, double value)
time
- host
- variable
- value
- public static final void hostVariableSubWithTime(double time, java.lang.String host, java.lang.String variable, double value)
time
- host
- variable
- value
- public static final java.lang.String[] getHostVariablesName()
public static final void linkVariableDeclare(java.lang.String variable)
variable
- public static final void linkVariableDeclareWithColor(java.lang.String variable, java.lang.String color)
variable
- color
- public static final void linkVariableSet(java.lang.String link, java.lang.String variable, double value)
link
- variable
- value
- public static final void linkVariableAdd(java.lang.String link, java.lang.String variable, double value)
link
- variable
- value
- public static final void linkVariableSub(java.lang.String link, java.lang.String variable, double value)
link
- variable
- value
- public static final void linkVariableSetWithTime(double time, java.lang.String link, java.lang.String variable, double value)
time
- link
- variable
- value
- public static final void linkVariableAddWithTime(double time, java.lang.String link, java.lang.String variable, double value)
time
- link
- variable
- value
- public static final void linkVariableSubWithTime(double time, java.lang.String link, java.lang.String variable, double value)
time
- link
- variable
- value
- public static final void linkSrcDstVariableSet(java.lang.String src, java.lang.String dst, java.lang.String variable, double value)
src
- dst
- variable
- value
- public static final void linkSrcDstVariableAdd(java.lang.String src, java.lang.String dst, java.lang.String variable, double value)
src
- dst
- variable
- value
- public static final void linkSrcDstVariableSub(java.lang.String src, java.lang.String dst, java.lang.String variable, double value)
src
- dst
- variable
- value
- public static final void linkSrcDstVariableSetWithTime(double time, java.lang.String src, java.lang.String dst, java.lang.String variable, double value)
time
- src
- dst
- variable
- value
- public static final void linkSrcdstVariableAddWithTime(double time, java.lang.String src, java.lang.String dst, java.lang.String variable, double value)
time
- src
- dst
- variable
- value
- public static final void linkSrcDstVariableSubWithTime(double time, java.lang.String src, java.lang.String dst, java.lang.String variable, double value)
time
- src
- dst
- variable
- value
- public static final java.lang.String[] getLinkVariablesName()
public static final void hostStateDeclare(java.lang.String name)
name
- The name of the new state to be declared.public static final void hostStateDeclareValue(java.lang.String state, java.lang.String value, java.lang.String color)
state
- The name of the new state to be declared.value
- The name of the valuecolor
- The color of the valuepublic static final void hostSetState(java.lang.String host, java.lang.String state, java.lang.String value)
host
- The name of the host to be considered.state
- The name of the state previously declared.value
- The new value of the state.public static final void hostPushState(java.lang.String host, java.lang.String state, java.lang.String value)
host
- The name of the host to be considered.state
- The name of the state previously declared.value
- The value to be pushed.public static final void hostPopState(java.lang.String host, java.lang.String state)
host
- The name of the host to be considered.state
- The name of the state to be popped.public static final void hostVariableDeclare(java.lang.String variable)
variable
- public static final void hostVariableSet(java.lang.String host, java.lang.String variable, double value)
host
- variable
- value
- public static final void vmVariableDeclare(java.lang.String variable)
variable
- public static final void vmVariableSet(java.lang.String vm, java.lang.String variable, double value)
vm
- variable
- value
-