public class Trace extends Object
| Constructor and Description |
|---|
Trace() |
| Modifier and Type | Method and Description |
|---|---|
Set<Property> |
allProperties()
This method returns all properties contained in the node hierarchy
that can be used to search for the trace.
|
long |
calculateDuration()
This method returns the duration of the trace fragment.
|
long |
endTime()
This method returns the end time of the trace fragment.
|
boolean |
equals(Object obj) |
String |
getBusinessTransaction() |
Set<Node> |
getCorrelatedNodes(CorrelationIdentifier cid)
This method locates any node within the trace that
is associated with the supplied correlation id.
|
String |
getHostAddress() |
String |
getHostName() |
String |
getId() |
List<Node> |
getNodes() |
String |
getPrincipal() |
Set<Property> |
getProperties(String name)
This method returns the set of properties having the
supplied property name.
|
long |
getStartTime() |
int |
hashCode() |
boolean |
hasProperty(String name)
This method determines whether there is atleast one
property with the supplied name.
|
boolean |
initialFragment()
This method determines whether this trace is the initial
fragment of an instance.
|
Trace |
setBusinessTransaction(String name) |
Trace |
setHostAddress(String hostAddress) |
Trace |
setHostName(String hostName) |
Trace |
setId(String id) |
Trace |
setNodes(List<Node> nodes) |
Trace |
setPrincipal(String principal) |
Trace |
setStartTime(long startTime) |
String |
toString() |
public String getId()
public long getStartTime()
public Trace setStartTime(long startTime)
startTime - the startTime to setpublic String getBusinessTransaction()
public Trace setBusinessTransaction(String name)
name - the business transaction name to setpublic String getPrincipal()
public Trace setPrincipal(String principal)
principal - the principal to setpublic String getHostName()
public Trace setHostName(String hostName)
hostName - the host name to setpublic String getHostAddress()
public Trace setHostAddress(String hostAddress)
hostAddress - the host address to setpublic Trace setNodes(List<Node> nodes)
nodes - the nodes to setpublic Set<Property> allProperties()
public boolean hasProperty(String name)
name - The property namepublic Set<Property> getProperties(String name)
name - The property namepublic boolean initialFragment()
public long endTime()
public long calculateDuration()
public Set<Node> getCorrelatedNodes(CorrelationIdentifier cid)
cid - The correlation identifierCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.