public final class ExecutionData extends Object
boolean[]
which can be modified.| Constructor and Description |
|---|
ExecutionData(long id,
String name,
boolean[] probes)
Creates a new
ExecutionData object with the given probe data. |
ExecutionData(long id,
String name,
int probeCount)
Creates a new
ExecutionData object with the given probe data
length. |
| Modifier and Type | Method and Description |
|---|---|
void |
assertCompatibility(long id,
String name,
int probecount)
Asserts that this execution data object is compatible with the given
parameters.
|
long |
getId()
Return the unique identifier for this class.
|
String |
getName()
The VM name of the class.
|
boolean[] |
getProbes()
Returns the execution data probes.
|
void |
merge(ExecutionData other)
Merges the given execution data into the probe data of this object.
|
void |
merge(ExecutionData other,
boolean flag)
Merges the given execution data into the probe data of this object.
|
void |
reset()
Sets all probes to
false. |
String |
toString() |
public ExecutionData(long id,
String name,
boolean[] probes)
ExecutionData object with the given probe data.id - class identifiername - VM nameprobes - probe datapublic ExecutionData(long id,
String name,
int probeCount)
ExecutionData object with the given probe data
length. All probes are set to false.id - class identifiername - VM nameprobeCount - probe countpublic long getId()
public String getName()
public boolean[] getProbes()
true indicates
that the corresponding probe was executed.public void reset()
false.public void merge(ExecutionData other)
true) if
this probe or the corresponding other probe was executed. So the result
is
A or BThe probe array of the other object is not modified.
other - execution data to mergepublic void merge(ExecutionData other, boolean flag)
flag if the
corresponding other probe was executed. For flag==true this
corresponds to
A or BFor
flag==true this can be considered as a subtraction
A and not BThe probe array of the other object is not modified.
other - execution data to mergeflag - merge modepublic void assertCompatibility(long id,
String name,
int probecount)
throws IllegalStateException
id - other class id, must be the samename - other name, must be equal to this nameprobecount - probe data length, must be the same as for this dataIllegalStateException - if the given parameters do not match this instanceCopyright © 2009-2015 Mountainminds GmbH & Co. KG. All Rights Reserved.