public interface BusinessTransactionCollector
| Modifier and Type | Field and Description |
|---|---|
static String |
BATCH_SIZE
The maximum number of business transactions to batch before sending to the server.
|
static String |
BATCH_THREADS
The thread pool size for reporting a batch of business transactions to the server.
|
static String |
BATCH_TIME
The maximum time (in milliseconds) before sending a batch of business transactions to the server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
componentEnd(String uri,
String type,
String operation)
This method indicates the end of a component invocation.
|
void |
componentStart(String uri,
String type,
String operation)
This method indicates the start of a component invocation.
|
void |
consumerEnd(String uri,
String type,
Map<String,?> headers,
Object... values)
This method indicates the end of a message being consumed.
|
void |
consumerStart(String uri,
String type,
String id,
Map<String,?> headers,
Object... values)
This method indicates the start of a message being consumed.
|
String |
getName()
This method returns the name of the business transaction.
|
void |
producerEnd(String uri,
String type,
Map<String,?> headers,
Object... values)
This method indicates the end of a message being produced.
|
void |
producerStart(String uri,
String type,
String id,
Map<String,?> headers,
Object... values)
This method indicates the start of a message being produced.
|
void |
serviceEnd(String uri,
String operation,
Map<String,?> headers,
Object... values)
This method indicates the end of a service invocation.
|
void |
serviceStart(String uri,
String operation,
Map<String,?> headers,
Object... values)
This method indicates the start of a service invocation.
|
SessionManager |
session()
This method returns the session manager associated with the
current thread of execution.
|
void |
setDetail(String name,
String value)
This method sets a detail on the current node.
|
void |
setName(String name)
This method sets the name of the business transaction.
|
void |
setProperty(String name,
String value)
This method sets a property on the business transaction.
|
static final String BATCH_SIZE
static final String BATCH_TIME
static final String BATCH_THREADS
void setName(String name)
name - The business transaction nameString getName()
void consumerStart(String uri, String type, String id, Map<String,?> headers, Object... values)
uri - The uritype - The endpoint typeid - The unique interaction idheaders - The header valuesvalues - The request valuesvoid consumerEnd(String uri, String type, Map<String,?> headers, Object... values)
uri - The uritype - The endpoint typeheaders - The header valuesvalues - The response valuesvoid serviceStart(String uri, String operation, Map<String,?> headers, Object... values)
uri - The service type urioperation - The operationheaders - The header valuesvalues - The request valuesvoid serviceEnd(String uri, String operation, Map<String,?> headers, Object... values)
uri - The service type urioperation - The operationheaders - The header valuesvalues - The response valuesvoid componentStart(String uri, String type, String operation)
uri - The uritype - The component typeoperation - The operationvoid componentEnd(String uri, String type, String operation)
uri - The uritype - The component typeoperation - The operationvoid producerStart(String uri, String type, String id, Map<String,?> headers, Object... values)
uri - The uritype - The endpoint typeid - The unique interaction idheaders - The header valuesvalues - The request valuesvoid producerEnd(String uri, String type, Map<String,?> headers, Object... values)
uri - The uritype - The endpoint typeheaders - The header valuesvalues - The response valuesvoid setProperty(String name, String value)
name - The property namevalue - The property valuevoid setDetail(String name, String value)
name - The detail namevalue - The detail valueSessionManager session()
Copyright © 2015 Red Hat, Inc.. All rights reserved.