com.espertech.esper.epl.spec
Enum OutputLimitRateType

java.lang.Object
  extended by java.lang.Enum<OutputLimitRateType>
      extended by com.espertech.esper.epl.spec.OutputLimitRateType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OutputLimitRateType>

public enum OutputLimitRateType
extends java.lang.Enum<OutputLimitRateType>

Enum for the type of rate for output-rate limiting.


Enum Constant Summary
AFTER
          Output after a given time period
CRONTAB
          Output following a crontab-like schedule.
EVENTS
          Output by number of events.
TERM
          Output upon context partition (agent instance) termination
TIME_PERIOD
          Output based on a time period passing.
WHEN_EXPRESSION
          Output when an expression turns true.
 
Method Summary
static OutputLimitRateType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OutputLimitRateType[] 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

EVENTS

public static final OutputLimitRateType EVENTS
Output by number of events.


CRONTAB

public static final OutputLimitRateType CRONTAB
Output following a crontab-like schedule.


WHEN_EXPRESSION

public static final OutputLimitRateType WHEN_EXPRESSION
Output when an expression turns true.


TIME_PERIOD

public static final OutputLimitRateType TIME_PERIOD
Output based on a time period passing.


AFTER

public static final OutputLimitRateType AFTER
Output after a given time period


TERM

public static final OutputLimitRateType TERM
Output upon context partition (agent instance) termination

Method Detail

values

public static OutputLimitRateType[] 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 (OutputLimitRateType c : OutputLimitRateType.values())
    System.out.println(c);

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

valueOf

public static OutputLimitRateType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com