net.esper.client.soda
Enum OutputLimitUnit

java.lang.Object
  extended by java.lang.Enum<OutputLimitUnit>
      extended by net.esper.client.soda.OutputLimitUnit
All Implemented Interfaces:
Serializable, Comparable<OutputLimitUnit>

public enum OutputLimitUnit
extends Enum<OutputLimitUnit>

Unit for output rate limiting.


Enum Constant Summary
EVENTS
          The number of events unit.
MINUTES
          The minutes unit.
SECONDS
          The seconds unit.
 
Method Summary
 String getText()
          Returns the text for the unit.
static OutputLimitUnit valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OutputLimitUnit[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MINUTES

public static final OutputLimitUnit MINUTES
The minutes unit.


SECONDS

public static final OutputLimitUnit SECONDS
The seconds unit.


EVENTS

public static final OutputLimitUnit EVENTS
The number of events unit.

Method Detail

values

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

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

valueOf

public static OutputLimitUnit 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

getText

public String getText()
Returns the text for the unit.

Returns:
unit text

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com