com.tc.statistics
Class StatisticType

java.lang.Object
  extended by com.tc.statistics.StatisticType

public class StatisticType
extends java.lang.Object

This class indicates how a StatisticRetrievalAction should be automatically captured during a capturing session.


Field Summary
static StatisticType SNAPSHOT
          Statistics will be automatically captured during the capturing session, based on the frequency that has been setup on the configuration.
static StatisticType STARTUP
          Statistic will be automatically captured at the beginning of a capturing session.
static StatisticType TRIGGERED
          Statistics of this type will not captured automatically.
 
Method Summary
 boolean equals(java.lang.Object object)
           
static java.util.Collection getAllTypes()
           
static StatisticType getType(java.lang.String identifier)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

STARTUP

public static final StatisticType STARTUP
Statistic will be automatically captured at the beginning of a capturing session.


SNAPSHOT

public static final StatisticType SNAPSHOT
Statistics will be automatically captured during the capturing session, based on the frequency that has been setup on the configuration.


TRIGGERED

public static final StatisticType TRIGGERED
Statistics of this type will not captured automatically. They can however be captured on an as-needed basis through API calls.

Method Detail

getType

public static StatisticType getType(java.lang.String identifier)

getAllTypes

public static java.util.Collection getAllTypes()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.