org.addsimplicity.anicetus.entity
Class TelemetrySession
java.lang.Object
org.addsimplicity.anicetus.entity.GlobalInfo
org.addsimplicity.anicetus.entity.ExecInfo
org.addsimplicity.anicetus.entity.TelemetrySession
- All Implemented Interfaces:
- java.util.Map<java.lang.String,java.lang.Object>, TelemetryContainer
public class TelemetrySession
- extends ExecInfo
A session defines the execution of something meaningful by the application.
In the case of HTTP based web applications, a session would be the duration
of a request. In most cases, the session will be easily understood. Every
application should have a boundary that represents a meaningful unit of work
that can be tracked as a telemetry session.
- Author:
- Dan Pritchett (driveawedge@yahoo.com)
| Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
| 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 |
TelemetrySession
public TelemetrySession()
- Create a session without a parent.
getOperationName
public java.lang.String getOperationName()
- Get the operation name. For web oriented applications or services this will
be the action name.
- Returns:
- the operation name.
setOperationName
public void setOperationName(java.lang.String name)
- Set the operation name. For web oriented applications or services this will
be the action name.
- Parameters:
name - The operation name.
Copyright © 2009 Add Simplicity. All Rights Reserved.