Platform SDK Java 8.5 API Reference

com.genesyslab.platform.reporting.protocol.statserver
Class StatisticInterval

java.lang.Object
  extended by com.genesyslab.platform.commons.GEnum
      extended by com.genesyslab.platform.reporting.protocol.statserver.StatisticInterval

public class StatisticInterval
extends GEnum

This enum defines time intervals used for calculating historical, aggregate values for statistics.


Field Summary
static StatisticInterval GrowingWindow
          Resets statistics to zero at one or more specified times: for example, at midnight and then every three hours after that.
static StatisticInterval SinceLogin
          Aggregates statistical data only for Agent-based statistics: the statistics are set to zero (0) at the moment of agent login and continue to accumulate so long as an agent is associated with a specific place.
static StatisticInterval SlidingSelection
          Tracks the last several occurrences of an activity, using a number of activities that you specify, for example, the last 5 calls.
static StatisticInterval SlidingWindow
          Tracks the last several seconds of activity, using a number of seconds that you specify, with an option to specify how often to sample the statistic (which defaults to every 10 seconds); for example, the last 600 seconds, sampled every 2 seconds.
 
Fields inherited from class com.genesyslab.platform.commons.GEnum
LOCALE_ENGLISH
 
Method Summary
static StatisticInterval valueOf(int ordinal)
          Returns enumeration value by given ordinal number.
static StatisticInterval valueOf(java.lang.String name)
          Returns enumeration value with specified name or null if no such value exists.
static java.util.Collection<StatisticInterval> values()
          Returns all values of the enumeration.
 
Methods inherited from class com.genesyslab.platform.commons.GEnum
asInteger, enumSize, equals, equals, getEnumMap, getEnumValues, getValue, getValue, getValue, hashCode, name, ordinal, toString, valueOf, valueOf, values, valuesBy
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

GrowingWindow

public static final StatisticInterval GrowingWindow
Resets statistics to zero at one or more specified times: for example, at midnight and then every three hours after that.


SinceLogin

public static final StatisticInterval SinceLogin
Aggregates statistical data only for Agent-based statistics: the statistics are set to zero (0) at the moment of agent login and continue to accumulate so long as an agent is associated with a specific place.


SlidingWindow

public static final StatisticInterval SlidingWindow
Tracks the last several seconds of activity, using a number of seconds that you specify, with an option to specify how often to sample the statistic (which defaults to every 10 seconds); for example, the last 600 seconds, sampled every 2 seconds.


SlidingSelection

public static final StatisticInterval SlidingSelection
Tracks the last several occurrences of an activity, using a number of activities that you specify, for example, the last 5 calls.

Method Detail

values

public static java.util.Collection<StatisticInterval> values()
Returns all values of the enumeration.

Returns:
all enumeration values

valueOf

public static StatisticInterval valueOf(int ordinal)
Returns enumeration value by given ordinal number.

Parameters:
ordinal - ordinal number of the enumeration value
Returns:
the enumeration value with given ordinal number or null

valueOf

public static StatisticInterval valueOf(java.lang.String name)
Returns enumeration value with specified name or null if no such value exists.

Parameters:
name - name of value in the enumeration
Returns:
enumeration value with specified name or null

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.