org.addsimplicity.anicetus.entity
Class TelemetrySession

java.lang.Object
  extended by org.addsimplicity.anicetus.entity.GlobalInfo
      extended by org.addsimplicity.anicetus.entity.ExecInfo
          extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
TelemetrySession()
          Create a session without a parent.
 
Method Summary
 java.lang.String getOperationName()
          Get the operation name.
 void setOperationName(java.lang.String name)
          Set the operation name.
 
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

TelemetrySession

public TelemetrySession()
Create a session without a parent.

Method Detail

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.