|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.addsimplicity.anicetus.entity.GlobalInfo
org.addsimplicity.anicetus.entity.ExecInfo
org.addsimplicity.anicetus.entity.TelemetryTransaction
public class TelemetryTransaction
A transaction captures the details of an interaction with a component of the application. These are typically external resources such as a database or service but are not strictly required to be external.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
TelemetryTransaction()
Construct a transaction without a parent. |
|
TelemetryTransaction(GlobalInfo parent)
Construct a transaction with the specified artifact as the parent. |
|
| Method Summary | |
|---|---|
java.lang.String |
getOperation()
The operation is the action being performed by this transaction. |
java.lang.Object[] |
getParameters()
Parameters may be optional specified and associated with the operation. |
java.lang.String |
getResourceId()
Get the identifier of the primary resource being manipulated by this transaction. |
void |
setOperation(java.lang.String operation)
Set the operation or action performed by this transaction. |
void |
setParameters(java.lang.Object[] params)
Set optional parameters associated with the operation. |
void |
setResourceId(java.lang.String resource)
Set a resource identifier of the primary resource acted upon by this transaction. |
| Methods inherited from class org.addsimplicity.anicetus.entity.ExecInfo |
|---|
addChild, complete, getChildren, getDuration, getStatus, setDuration, setStatus, startTimer |
| Methods inherited from class org.addsimplicity.anicetus.entity.GlobalInfo |
|---|
clear, containsKey, containsValue, entrySet, equals, get, getEntityId, getExecutionContext, getMessage, getParentId, getReportingNode, getTimeStamp, hashCode, isEmpty, keySet, put, putAll, remove, setEntityId, setExceptionAsMessage, setExecutionContext, setMessage, setParentId, setReportingNode, setTimeStamp, size, values |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TelemetryTransaction()
public TelemetryTransaction(GlobalInfo parent)
parent - | Method Detail |
|---|
public java.lang.String getOperation()
public java.lang.Object[] getParameters()
public java.lang.String getResourceId()
public void setOperation(java.lang.String operation)
operation - The operation performed by this transaction.public void setParameters(java.lang.Object[] params)
params - The list of parameters associated with the operation.public void setResourceId(java.lang.String resource)
resource - The identifier of the primary resource.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||