IBM WebSphere Application ServerTM
Release 8

com.ibm.websphere.pmi.stat
Interface WSEJBStats


public interface WSEJBStats

WebSphere Enterprise Java Beans stats interface. Enterprise Beans stats are structured as follows in the PMI tree:

<server>
|
|__Enterprise Beans+
  |
  |__<appName#ejb.jar>
    |
    |__Stateless Session Bean+
       |__<stateless_EJB1>
         |__Methods+
           |__<method_1>
    |
    |__Stateful Session Bean+
       |__<stateful_EJB1>
         |__Methods+
           |__<method_1>
    |
    |__Entity Bean+
       |__<entity_EJB1>
         |__Methods+
           |__<method_1>

+ indicates logical group

StatDescriptor is used to locate and access particular Stats in the PMI tree.
Example:

  1. StatDescriptor that represents the Stateless session bean logical group: new StatDescriptor (new String[] {WSEJBStats.NAME, "appName#ejb.jar", "stateless_EJB1", WSEJBStats.EJB_STATELESS});
  2. StatDescriptor that represents the a method in a Stateless session bean: new StatDescriptor (new String[] {WSEJBStats.NAME, "appName#ejb.jar", "stateless_EJB1", WSEJBStats.EJB_STATELESS, WSEJBStats.MethodStats.NAME, "method_1"});


Nested Class Summary
static interface WSEJBStats.MethodStats
          WebSphere Enterprise Java Beans method level stats
 
Field Summary
static int ActivateCount
          Number of times beans were activated (CountStatistic)
static int ActivationTime
          Average time in milliseconds a beanActivate call takes including the time at the database, if any (TimeStatistic).
static int ConcurrentActiveMethodCount
          Number of concurrently active methods (RangeStatistic).
static int ConcurrentLiveCount
          Number of concurrently live beans (RangeStatistic).
static int CreateCount
          Number of times beans were created (CountStatistic).
static int CreateTime
          The average time in milliseconds that a bean create call takes (including the time for the load, if any) (TimeStatistic).
static int DrainsFromPoolCount
          Number of times the daemon found the pool was idle and attempted to clean it (CountStatistic).
static int DrainSize
          Average number of objects discarded in each drain (AverageStatistic).
static java.lang.String EJB_ASYNCH
          Stats name of the Asynch bean logical group
static java.lang.String EJB_ENTITY
          Stats name of the Entity bean logical group
static java.lang.String EJB_MESSAGEDRIVEN
          Stats name of the Message driven bean logical group
static java.lang.String EJB_SINGLETON
          Stats name of the Singleton bean logical group
static java.lang.String EJB_STATEFUL
          Stats name of the Stateful session bean logical group
static java.lang.String EJB_STATELESS
          Stats name of the Stateless session bean logical group
static int FreedCount
          Number of times bean objects were freed (CountStatistic)
static int InstantiateCount
          Number of times bean objects were instantiated (CountStatistic)
static int LoadCount
          Number of times bean data was loaded from persistent storage (CountStatistic)
static int LoadTime
          Average time in milliseconds for loading the bean data from persistent storage (TimeStatistic).
static int MessageBackoutCount
          The number of backed out messages that failed to be delivered to the onMessage method of the bean (CountStatistic).
static int MessageCount
          The number of messages delivered to the onMessage method of the bean (CountStatistic).
static int MethodCallCount
          total number of method calls (CountStatistic)
static int MethodReadyCount
          Number of beans that are in method-ready state (RangeStatistic).
static int MethodResponseTime
          Average response time in milliseconds on the bean methods (home, remote, local) (TimeStatistic).
static java.lang.String NAME
          Stats name of the top level Enterprise Beans logical group in PMI tree.
static int PassivateCount
          Number of times beans were passivated (CountStatistic)
static int PassivationTime
          Average time in milliseconds a beanPassivate call takes including the time at the database, if any (TimeStatistic).
static int PassiveCount
          Number of beans that are in passivated state (RangeStatistic).
static int PooledCount
          Number of objects in the pool (RangeStatistic).
static int ReadyCount
          Number of concurrently ready beans (RangeStatistic).
static int RemoveCount
          Number of times beans were removed (CountStatistic)
static int RemoveTime
          The average time in milliseconds that a beanRemove call takes (including the time at the database, if any) (TimeStatistic).
static int RetrieveFromPoolCount
          Number of calls retrieving an object from the pool (CountStatistic).
static int RetrieveFromPoolSuccessCount
          Number of times a retrieve found an object available in the pool (CountStatistic).
static int ReturnsDiscardCount
          Number of times the returning object was discarded because the pool was full (CountStatistic).
static int ReturnsToPoolCount
          Number of calls returning an object to the pool (CountStatistic).
static int ServerSessionPoolUsage
          The percentage of the ServerSession pool in use.
static int StoreCount
          Number of times bean data was stored in persistent storage (CountStatistic)
static int StoreTime
          Average time in milliseconds for storing the bean data to persistent storage (TimeStatistic).
static int WaitTime
          Average time in milliseconds required to obtain a server session from the pool (TimeStatistic).
 

Field Detail

NAME

static final java.lang.String NAME
Stats name of the top level Enterprise Beans logical group in PMI tree.

<server>
|
|__Enterprise Beans+

See Also:
Constant Field Values

EJB_ENTITY

static final java.lang.String EJB_ENTITY
Stats name of the Entity bean logical group

See Also:
Constant Field Values

EJB_STATEFUL

static final java.lang.String EJB_STATEFUL
Stats name of the Stateful session bean logical group

See Also:
Constant Field Values

EJB_STATELESS

static final java.lang.String EJB_STATELESS
Stats name of the Stateless session bean logical group

See Also:
Constant Field Values

EJB_MESSAGEDRIVEN

static final java.lang.String EJB_MESSAGEDRIVEN
Stats name of the Message driven bean logical group

See Also:
Constant Field Values

EJB_SINGLETON

static final java.lang.String EJB_SINGLETON
Stats name of the Singleton bean logical group

See Also:
Constant Field Values

EJB_ASYNCH

static final java.lang.String EJB_ASYNCH
Stats name of the Asynch bean logical group

See Also:
Constant Field Values

CreateCount

static final int CreateCount
Number of times beans were created (CountStatistic).

See Also:
Constant Field Values

RemoveCount

static final int RemoveCount
Number of times beans were removed (CountStatistic)

See Also:
Constant Field Values

ActivateCount

static final int ActivateCount
Number of times beans were activated (CountStatistic)

See Also:
Constant Field Values

PassivateCount

static final int PassivateCount
Number of times beans were passivated (CountStatistic)

See Also:
Constant Field Values

InstantiateCount

static final int InstantiateCount
Number of times bean objects were instantiated (CountStatistic)

See Also:
Constant Field Values

FreedCount

static final int FreedCount
Number of times bean objects were freed (CountStatistic)

See Also:
Constant Field Values

LoadCount

static final int LoadCount
Number of times bean data was loaded from persistent storage (CountStatistic)

See Also:
Constant Field Values

StoreCount

static final int StoreCount
Number of times bean data was stored in persistent storage (CountStatistic)

See Also:
Constant Field Values

ReadyCount

static final int ReadyCount
Number of concurrently ready beans (RangeStatistic). This counter was called concurrent active in Versions 3.5.5+ and 4.0.

See Also:
Constant Field Values

ConcurrentLiveCount

static final int ConcurrentLiveCount
Number of concurrently live beans (RangeStatistic).

See Also:
Constant Field Values

MethodCallCount

static final int MethodCallCount
total number of method calls (CountStatistic)

See Also:
Constant Field Values

MethodResponseTime

static final int MethodResponseTime
Average response time in milliseconds on the bean methods (home, remote, local) (TimeStatistic).

See Also:
Constant Field Values

CreateTime

static final int CreateTime
The average time in milliseconds that a bean create call takes (including the time for the load, if any) (TimeStatistic).

See Also:
Constant Field Values

RemoveTime

static final int RemoveTime
The average time in milliseconds that a beanRemove call takes (including the time at the database, if any) (TimeStatistic).

See Also:
Constant Field Values

ConcurrentActiveMethodCount

static final int ConcurrentActiveMethodCount
Number of concurrently active methods (RangeStatistic).

See Also:
Constant Field Values

RetrieveFromPoolCount

static final int RetrieveFromPoolCount
Number of calls retrieving an object from the pool (CountStatistic).

See Also:
Constant Field Values

RetrieveFromPoolSuccessCount

static final int RetrieveFromPoolSuccessCount
Number of times a retrieve found an object available in the pool (CountStatistic).

See Also:
Constant Field Values

ReturnsToPoolCount

static final int ReturnsToPoolCount
Number of calls returning an object to the pool (CountStatistic).

See Also:
Constant Field Values

ReturnsDiscardCount

static final int ReturnsDiscardCount
Number of times the returning object was discarded because the pool was full (CountStatistic).

See Also:
Constant Field Values

DrainsFromPoolCount

static final int DrainsFromPoolCount
Number of times the daemon found the pool was idle and attempted to clean it (CountStatistic).

See Also:
Constant Field Values

DrainSize

static final int DrainSize
Average number of objects discarded in each drain (AverageStatistic).

See Also:
Constant Field Values

PooledCount

static final int PooledCount
Number of objects in the pool (RangeStatistic).

See Also:
Constant Field Values

MessageCount

static final int MessageCount
The number of messages delivered to the onMessage method of the bean (CountStatistic).

See Also:
Constant Field Values

MessageBackoutCount

static final int MessageBackoutCount
The number of backed out messages that failed to be delivered to the onMessage method of the bean (CountStatistic).

See Also:
Constant Field Values

WaitTime

static final int WaitTime
Average time in milliseconds required to obtain a server session from the pool (TimeStatistic).

See Also:
Constant Field Values

ServerSessionPoolUsage

static final int ServerSessionPoolUsage
The percentage of the ServerSession pool in use.

See Also:
Constant Field Values

ActivationTime

static final int ActivationTime
Average time in milliseconds a beanActivate call takes including the time at the database, if any (TimeStatistic).

See Also:
Constant Field Values

PassivationTime

static final int PassivationTime
Average time in milliseconds a beanPassivate call takes including the time at the database, if any (TimeStatistic).

See Also:
Constant Field Values

LoadTime

static final int LoadTime
Average time in milliseconds for loading the bean data from persistent storage (TimeStatistic).

See Also:
Constant Field Values

StoreTime

static final int StoreTime
Average time in milliseconds for storing the bean data to persistent storage (TimeStatistic).

See Also:
Constant Field Values

PassiveCount

static final int PassiveCount
Number of beans that are in passivated state (RangeStatistic).

See Also:
Constant Field Values

MethodReadyCount

static final int MethodReadyCount
Number of beans that are in method-ready state (RangeStatistic).

See Also:
Constant Field Values

IBM WebSphere Application ServerTM
Release 8