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