| 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 ISpectrumpublic boolean containsProbeGroup(ProbeGroup probeGroup)
containsProbeGroup in interface ISpectrumpublic boolean containsProbeGroupByHash(String hash)
containsProbeGroupByHash in interface ISpectrumpublic ProbeGroup getProbeGroup(ProbeGroup probeGroup)
ProbeGroup with a given name, or null if there is
not any.getProbeGroup in interface ISpectrumpublic ProbeGroup getProbeGroupByHash(String hash)
ProbeGroup with a given name, or null if there is
not any.getProbeGroupByHash in interface ISpectrumpublic Collection<ProbeGroup> getProbeGroups()
ProbeGroup that have been registered.getProbeGroups in interface ISpectrumpublic List<Node> getNodes()
Node objects registered in each
ProbeGroup.public int getNumberOfNodes()
Node objects registered in each
ProbeGroup.getNumberOfNodes in interface ISpectrumpublic List<Node> getHitNodes(Transaction transaction)
Node objects of a particular
Transaction object.getHitNodes in interface ISpectrumpublic void addTransaction(Transaction transaction)
Transaction.addTransaction in interface ISpectrumpublic List<Transaction> getTransactions()
Transaction that have been registered.getTransactions in interface ISpectrumpublic int getNumberOfTransactions()
Transaction that have been registered.getNumberOfTransactions in interface ISpectrumCopyright © 2010–2019 GZoltar. All rights reserved.