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 |
appendInBuffer(String location,
Object obj,
byte[] data,
int offset,
int len)
This method appends data to the buffer associated with the supplied object.
|
void |
appendOutBuffer(String location,
Object obj,
byte[] data,
int offset,
int len)
This method appends data to the buffer associated with the supplied out object.
|
void |
componentEnd(String location,
String uri,
String type,
String operation)
This method indicates the end of a component invocation.
|
void |
componentStart(String location,
String uri,
String type,
String operation)
This method indicates the start of a component invocation.
|
void |
consumerEnd(String location,
String uri,
String type)
This method indicates the end of a message being consumed.
|
void |
consumerStart(String location,
String uri,
String type,
String id)
This method indicates the start of a message being consumed.
|
String |
getName()
This method returns the name of the business transaction.
|
void |
initInBuffer(String location,
Object obj)
This method initialises a data buffer associated with the supplied object.
|
void |
initOutBuffer(String location,
Object obj)
This method initialises a data buffer associated with the supplied out object.
|
boolean |
isInBufferActive(String location,
Object obj)
This method determines if there is an active in data buffer for
the supplied object.
|
boolean |
isInContentProcessed(String location)
This method identifies whether the in content for the current
business transaction and node will be processed to extract information.
|
boolean |
isInProcessed(String location)
This method identifies whether the in data (content and headers) for the current
business transaction and node will be processed to extract information.
|
boolean |
isOutBufferActive(String location,
Object obj)
This method determines if there is an active out data buffer for
the supplied object.
|
boolean |
isOutContentProcessed(String location)
This method identifies whether the out content for the current
business transaction and node will be processed to extract information.
|
boolean |
isOutProcessed(String location)
This method identifies whether the out data (content and headers) for the current
business transaction and node will be processed to extract information.
|
void |
processIn(String location,
Map<String,?> headers,
Object... values)
This method processes the supplied in headers and content.
|
void |
processOut(String location,
Map<String,?> headers,
Object... values)
This method processes the supplied out headers and content.
|
void |
producerEnd(String location,
String uri,
String type)
This method indicates the end of a message being produced.
|
void |
producerStart(String location,
String uri,
String type,
String id)
This method indicates the start of a message being produced.
|
void |
recordInBuffer(String location,
Object obj)
This method records the data within a buffer associated with the supplied in
object.
|
void |
recordOutBuffer(String location,
Object obj)
This method records the data within a buffer associated with the supplied
object.
|
SessionManager |
session()
This method returns the session manager associated with the
current thread of execution.
|
void |
setDetail(String location,
String name,
String value,
String nodeType,
boolean onStack)
This method sets a detail on the current node.
|
void |
setFault(String location,
String value,
String description)
This method sets a fault on the current node.
|
void |
setName(String location,
String name)
This method sets the name of the business transaction.
|
void |
setProperty(String location,
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 location, String name)
location - The instrumentation locationname - The business transaction nameString getName()
void consumerStart(String location, String uri, String type, String id)
location - The instrumentation locationuri - The uritype - The endpoint typeid - The unique interaction idvoid consumerEnd(String location, String uri, String type)
location - The instrumentation locationuri - The uritype - The endpoint typevoid componentStart(String location, String uri, String type, String operation)
location - The instrumentation locationuri - The uritype - The component typeoperation - The operationvoid componentEnd(String location, String uri, String type, String operation)
location - The instrumentation locationuri - The uritype - The component typeoperation - The operationvoid producerStart(String location, String uri, String type, String id)
location - The instrumentation locationuri - The uritype - The endpoint typeid - The unique interaction idvoid producerEnd(String location, String uri, String type)
location - The instrumentation locationuri - The uritype - The endpoint typeboolean isInProcessed(String location)
location - The instrumentation locationboolean isInContentProcessed(String location)
location - The instrumentation locationboolean isOutProcessed(String location)
location - The instrumentation locationboolean isOutContentProcessed(String location)
location - The instrumentation locationvoid processIn(String location, Map<String,?> headers, Object... values)
location - The instrumentation locationheaders - The header valuesvalues - The valuesvoid processOut(String location, Map<String,?> headers, Object... values)
location - The instrumentation locationheaders - The header valuesvalues - The valuesvoid setFault(String location, String value, String description)
location - The instrumentation locationvalue - The fault valuedescription - The optional fault descriptionvoid setProperty(String location, String name, String value)
location - The instrumentation locationname - The property namevalue - The property valuevoid setDetail(String location, String name, String value, String nodeType, boolean onStack)
location - The instrumentation locationname - The detail namevalue - The detail valuenodeType - The optional node typeonStack - The optional indicator of whether the nodeType is on the stackvoid initInBuffer(String location, Object obj)
location - The instrumentation locationobj - The object associated with the bufferboolean isInBufferActive(String location, Object obj)
location - The instrumentation locationobj - The object associated with the buffervoid appendInBuffer(String location, Object obj, byte[] data, int offset, int len)
location - The instrumentation locationobj - The object associated with the bufferdata - The data to be appendedoffset - The offset of the datalen - The length of datavoid recordInBuffer(String location, Object obj)
location - The instrumentation locationobj - The object associated with the buffervoid initOutBuffer(String location, Object obj)
location - The instrumentation locationobj - The object associated with the bufferboolean isOutBufferActive(String location, Object obj)
location - The instrumentation locationobj - The object associated with the buffervoid appendOutBuffer(String location, Object obj, byte[] data, int offset, int len)
location - The instrumentation locationobj - The object associated with the bufferdata - The data to be appendedoffset - The offset of the datalen - The length of datavoid recordOutBuffer(String location, Object obj)
location - The instrumentation locationobj - The object associated with the bufferSessionManager session()
Copyright © 2015 Red Hat, Inc.. All rights reserved.