flux.runtimeconfiguration
Enum ConcurrencyConstraintOperator

java.lang.Object
  extended by java.lang.Enum<ConcurrencyConstraintOperator>
      extended by flux.runtimeconfiguration.ConcurrencyConstraintOperator
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ConcurrencyConstraintOperator>

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

An enumeration of valid operators to be used in concurrency throttle expressions.

Author:
Copyright 2014 Flux Corporation. All rights reserved.

Enum Constant Summary
LESS_THAN
          Less than: <
LESS_THAN_OR_EQUAL
          Less than or equal: <=
 
Method Summary
static ConcurrencyConstraintOperator fromString(java.lang.String operator)
          Converts "<" or "<=" to its corresponding ConcurrencyConstraintOperator enumeration constant.
 java.lang.String toString()
           
static ConcurrencyConstraintOperator valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ConcurrencyConstraintOperator[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LESS_THAN

public static final ConcurrencyConstraintOperator LESS_THAN
Less than: <


LESS_THAN_OR_EQUAL

public static final ConcurrencyConstraintOperator LESS_THAN_OR_EQUAL
Less than or equal: <=

Method Detail

values

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

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

valueOf

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<ConcurrencyConstraintOperator>

fromString

public static ConcurrencyConstraintOperator fromString(java.lang.String operator)
Converts "<" or "<=" to its corresponding ConcurrencyConstraintOperator enumeration constant.

Parameters:
operator - Accepted operators are "<" and "<=".


© 2014 Flux Corporation. All rights reserved.