org.apache.jackrabbit.api.stats
Enum RepositoryStatistics.Type

java.lang.Object
  extended by java.lang.Enum<RepositoryStatistics.Type>
      extended by org.apache.jackrabbit.api.stats.RepositoryStatistics.Type
All Implemented Interfaces:
Serializable, Comparable<RepositoryStatistics.Type>
Enclosing interface:
RepositoryStatistics

public static enum RepositoryStatistics.Type
extends Enum<RepositoryStatistics.Type>

The values of this enum determine the type of the time series returned by RepositoryStatistics.getTimeSeries(Type) and link RepositoryStatistics.getTimeSeries(String, boolean).


Enum Constant Summary
BUNDLE_CACHE_ACCESS_COUNTER
           
BUNDLE_CACHE_MISS_AVERAGE
           
BUNDLE_CACHE_MISS_COUNTER
           
BUNDLE_CACHE_MISS_DURATION
           
BUNDLE_CACHE_SIZE_COUNTER
           
BUNDLE_COUNTER
           
BUNDLE_READ_COUNTER
           
BUNDLE_WRITE_AVERAGE
           
BUNDLE_WRITE_COUNTER
           
BUNDLE_WRITE_DURATION
           
BUNDLE_WS_SIZE_COUNTER
           
OBSERVATION_EVENT_AVERAGE
          Average time spent processing observation events by all observation listeners in nano seconds.
OBSERVATION_EVENT_COUNTER
          Total number of observation Event instances delivered to all observation listeners.
OBSERVATION_EVENT_DURATION
          Total time spent processing observation events by all observation listeners in nano seconds.
QUERY_AVERAGE
          Average time spent evaluating queries in milli seconds.
QUERY_COUNT
          Number of queries executed.
QUERY_DURATION
          Total time spent evaluating queries in milli seconds.
SESSION_COUNT
          Number of currently logged in sessions.
SESSION_LOGIN_COUNTER
          Number of calls sessions that have been logged in.
SESSION_READ_AVERAGE
          Average time spent reading from sessions in nano seconds.
SESSION_READ_COUNTER
          Number of read accesses through any session.
SESSION_READ_DURATION
          Total time spent reading from sessions in nano seconds.
SESSION_WRITE_AVERAGE
          Average time spent writing to sessions in nano seconds.
SESSION_WRITE_COUNTER
          Number of write accesses through any session.
SESSION_WRITE_DURATION
          Total time spent writing to sessions in nano seconds.
 
Method Summary
static RepositoryStatistics.Type getType(String type)
           
 boolean isResetValueEachSecond()
           
static RepositoryStatistics.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RepositoryStatistics.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BUNDLE_READ_COUNTER

public static final RepositoryStatistics.Type BUNDLE_READ_COUNTER

BUNDLE_WRITE_COUNTER

public static final RepositoryStatistics.Type BUNDLE_WRITE_COUNTER

BUNDLE_WRITE_DURATION

public static final RepositoryStatistics.Type BUNDLE_WRITE_DURATION

BUNDLE_WRITE_AVERAGE

public static final RepositoryStatistics.Type BUNDLE_WRITE_AVERAGE

BUNDLE_CACHE_ACCESS_COUNTER

public static final RepositoryStatistics.Type BUNDLE_CACHE_ACCESS_COUNTER

BUNDLE_CACHE_SIZE_COUNTER

public static final RepositoryStatistics.Type BUNDLE_CACHE_SIZE_COUNTER

BUNDLE_CACHE_MISS_COUNTER

public static final RepositoryStatistics.Type BUNDLE_CACHE_MISS_COUNTER

BUNDLE_CACHE_MISS_DURATION

public static final RepositoryStatistics.Type BUNDLE_CACHE_MISS_DURATION

BUNDLE_CACHE_MISS_AVERAGE

public static final RepositoryStatistics.Type BUNDLE_CACHE_MISS_AVERAGE

BUNDLE_COUNTER

public static final RepositoryStatistics.Type BUNDLE_COUNTER

BUNDLE_WS_SIZE_COUNTER

public static final RepositoryStatistics.Type BUNDLE_WS_SIZE_COUNTER

SESSION_READ_COUNTER

public static final RepositoryStatistics.Type SESSION_READ_COUNTER
Number of read accesses through any session.


SESSION_READ_DURATION

public static final RepositoryStatistics.Type SESSION_READ_DURATION
Total time spent reading from sessions in nano seconds.


SESSION_READ_AVERAGE

public static final RepositoryStatistics.Type SESSION_READ_AVERAGE
Average time spent reading from sessions in nano seconds. This is the sum of all read durations divided by the number of reads in the respective time period.


SESSION_WRITE_COUNTER

public static final RepositoryStatistics.Type SESSION_WRITE_COUNTER
Number of write accesses through any session.


SESSION_WRITE_DURATION

public static final RepositoryStatistics.Type SESSION_WRITE_DURATION
Total time spent writing to sessions in nano seconds.


SESSION_WRITE_AVERAGE

public static final RepositoryStatistics.Type SESSION_WRITE_AVERAGE
Average time spent writing to sessions in nano seconds. This is the sum of all write durations divided by the number of writes in the respective time period.


SESSION_LOGIN_COUNTER

public static final RepositoryStatistics.Type SESSION_LOGIN_COUNTER
Number of calls sessions that have been logged in.


SESSION_COUNT

public static final RepositoryStatistics.Type SESSION_COUNT
Number of currently logged in sessions.


QUERY_COUNT

public static final RepositoryStatistics.Type QUERY_COUNT
Number of queries executed.


QUERY_DURATION

public static final RepositoryStatistics.Type QUERY_DURATION
Total time spent evaluating queries in milli seconds.


QUERY_AVERAGE

public static final RepositoryStatistics.Type QUERY_AVERAGE
Average time spent evaluating queries in milli seconds. This is the sum of all query durations divided by the number of queries in the respective time period.


OBSERVATION_EVENT_COUNTER

public static final RepositoryStatistics.Type OBSERVATION_EVENT_COUNTER
Total number of observation Event instances delivered to all observation listeners.


OBSERVATION_EVENT_DURATION

public static final RepositoryStatistics.Type OBSERVATION_EVENT_DURATION
Total time spent processing observation events by all observation listeners in nano seconds.


OBSERVATION_EVENT_AVERAGE

public static final RepositoryStatistics.Type OBSERVATION_EVENT_AVERAGE
Average time spent processing observation events by all observation listeners in nano seconds. This is the sum of all observation durations divided by the number of observation events in the respective time period.

Method Detail

values

public static RepositoryStatistics.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RepositoryStatistics.Type c : RepositoryStatistics.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RepositoryStatistics.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getType

public static RepositoryStatistics.Type getType(String type)

isResetValueEachSecond

public boolean isResetValueEachSecond()


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.