Modifier and Type | Method and Description |
---|---|
void |
addProbeGroup(ProbeGroup probeGroup)
Register a new probe group.
|
void |
addTransaction(Transaction transaction)
Registers a
Transaction . |
boolean |
containsProbeGroup(ProbeGroup probeGroup)
Checks whether a probe group has been registered.
|
boolean |
containsProbeGroupByHash(String hash)
Checks whether a probe group has been registered.
|
List<Node> |
getHitNodes(Transaction transaction)
Returns all executed
Node objects of a particular
Transaction object. |
List<Node> |
getNodes()
Returns all
Node objects registered in each
ProbeGroup . |
int |
getNumberOfNodes()
Returns the number of all
Node objects registered in each
ProbeGroup . |
int |
getNumberOfTransactions()
Returns the number of all
Transaction that have been registered. |
ProbeGroup |
getProbeGroup(ProbeGroup probeGroup)
Returns the
ProbeGroup with a given name, or null if there is
not any. |
ProbeGroup |
getProbeGroupByHash(String hash)
Returns the
ProbeGroup with a given name, or null if there is
not any. |
Collection<ProbeGroup> |
getProbeGroups()
Returns all
ProbeGroup that have been registered. |
List<Transaction> |
getTransactions()
Returns all
Transaction that have been registered. |
String |
toString() |
public Spectrum()
Spectrum
.public void addProbeGroup(ProbeGroup probeGroup)
addProbeGroup
in interface ISpectrum
public boolean containsProbeGroup(ProbeGroup probeGroup)
containsProbeGroup
in interface ISpectrum
public boolean containsProbeGroupByHash(String hash)
containsProbeGroupByHash
in interface ISpectrum
public ProbeGroup getProbeGroup(ProbeGroup probeGroup)
ProbeGroup
with a given name, or null if there is
not any.getProbeGroup
in interface ISpectrum
public ProbeGroup getProbeGroupByHash(String hash)
ProbeGroup
with a given name, or null if there is
not any.getProbeGroupByHash
in interface ISpectrum
public Collection<ProbeGroup> getProbeGroups()
ProbeGroup
that have been registered.getProbeGroups
in interface ISpectrum
public List<Node> getNodes()
Node
objects registered in each
ProbeGroup
.public int getNumberOfNodes()
Node
objects registered in each
ProbeGroup
.getNumberOfNodes
in interface ISpectrum
public List<Node> getHitNodes(Transaction transaction)
Node
objects of a particular
Transaction
object.getHitNodes
in interface ISpectrum
public void addTransaction(Transaction transaction)
Transaction
.addTransaction
in interface ISpectrum
public List<Transaction> getTransactions()
Transaction
that have been registered.getTransactions
in interface ISpectrum
public int getNumberOfTransactions()
Transaction
that have been registered.getNumberOfTransactions
in interface ISpectrum
Copyright © 2010–2019 GZoltar. All rights reserved.