public class BusinessTransaction extends Object
| Constructor and Description |
|---|
BusinessTransaction() |
| Modifier and Type | Method and Description |
|---|---|
long |
calculateDuration()
This method returns the duration of the business
transaction fragment.
|
long |
endTime()
This method returns the end time of the business
transaction.
|
boolean |
equals(Object obj) |
Set<Node> |
getCorrelatedNodes(CorrelationIdentifier cid)
This method locates any node within the business transaction that
is associated with the supplied correlation id.
|
String |
getHostAddress() |
String |
getHostName() |
String |
getId() |
String |
getName() |
List<Node> |
getNodes() |
String |
getPrincipal() |
Map<String,String> |
getProperties()
This method returns properties that can be used to search for
the business transaction.
|
long |
getStartTime() |
int |
hashCode() |
boolean |
initialFragment()
This method determines whether this business transaction is the initial
fragment of an instance.
|
BusinessTransaction |
setHostAddress(String hostAddress) |
BusinessTransaction |
setHostName(String hostName) |
BusinessTransaction |
setId(String id) |
BusinessTransaction |
setName(String name) |
BusinessTransaction |
setNodes(List<Node> nodes) |
BusinessTransaction |
setPrincipal(String principal) |
BusinessTransaction |
setProperties(Map<String,String> properties) |
BusinessTransaction |
setStartTime(long startTime) |
String |
toString() |
public String getId()
public BusinessTransaction setId(String id)
id - the id to setpublic long getStartTime()
public BusinessTransaction setStartTime(long startTime)
startTime - the startTime to setpublic String getName()
public BusinessTransaction setName(String name)
name - the name to setpublic String getPrincipal()
public BusinessTransaction setPrincipal(String principal)
principal - the principal to setpublic String getHostName()
public BusinessTransaction setHostName(String hostName)
hostName - the host name to setpublic String getHostAddress()
public BusinessTransaction setHostAddress(String hostAddress)
hostAddress - the host address to setpublic BusinessTransaction setNodes(List<Node> nodes)
nodes - the nodes to setpublic Map<String,String> getProperties()
public BusinessTransaction setProperties(Map<String,String> properties)
properties - the properties to setpublic 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.