voldemort.store.stats
Enum StreamStats.Operation

java.lang.Object
  extended by java.lang.Enum<StreamStats.Operation>
      extended by voldemort.store.stats.StreamStats.Operation
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StreamStats.Operation>
Enclosing class:
StreamStats

public static enum StreamStats.Operation
extends java.lang.Enum<StreamStats.Operation>


Enum Constant Summary
DELETE
           
FETCH_ENTRIES
           
FETCH_FILE
           
FETCH_KEYS
           
SLOP
           
UPDATE
           
 
Method Summary
static StreamStats.Operation valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StreamStats.Operation[] 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

FETCH_KEYS

public static final StreamStats.Operation FETCH_KEYS

FETCH_ENTRIES

public static final StreamStats.Operation FETCH_ENTRIES

FETCH_FILE

public static final StreamStats.Operation FETCH_FILE

UPDATE

public static final StreamStats.Operation UPDATE

SLOP

public static final StreamStats.Operation SLOP

DELETE

public static final StreamStats.Operation DELETE
Method Detail

values

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

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

valueOf

public static StreamStats.Operation 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


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao