org.apache.hadoop.hbase.master
Enum RegionServerOperationQueue.ProcessingResultCode

java.lang.Object
  extended by java.lang.Enum<RegionServerOperationQueue.ProcessingResultCode>
      extended by org.apache.hadoop.hbase.master.RegionServerOperationQueue.ProcessingResultCode
All Implemented Interfaces:
Serializable, Comparable<RegionServerOperationQueue.ProcessingResultCode>
Enclosing class:
RegionServerOperationQueue

public static enum RegionServerOperationQueue.ProcessingResultCode
extends Enum<RegionServerOperationQueue.ProcessingResultCode>

Enums returned by RegionServerOperationQueue.process();


Enum Constant Summary
FAILED
          Failed processing of the operation.
NOOP
          Nothing to do.
PROCESSED
          Operation was processed successfully.
REQUEUED
          Operation was put-aside for now.
REQUEUED_BUT_PROBLEM
          Operation was requeued but we failed its processing for some reason (Bad filesystem?).
 
Method Summary
static RegionServerOperationQueue.ProcessingResultCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RegionServerOperationQueue.ProcessingResultCode[] 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

PROCESSED

public static final RegionServerOperationQueue.ProcessingResultCode PROCESSED
Operation was processed successfully.


NOOP

public static final RegionServerOperationQueue.ProcessingResultCode NOOP
Nothing to do.


REQUEUED

public static final RegionServerOperationQueue.ProcessingResultCode REQUEUED
Operation was put-aside for now. Will be retried later.


FAILED

public static final RegionServerOperationQueue.ProcessingResultCode FAILED
Failed processing of the operation.


REQUEUED_BUT_PROBLEM

public static final RegionServerOperationQueue.ProcessingResultCode REQUEUED_BUT_PROBLEM
Operation was requeued but we failed its processing for some reason (Bad filesystem?).

Method Detail

values

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

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

valueOf

public static RegionServerOperationQueue.ProcessingResultCode 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
NullPointerException - if the argument is null


Copyright © 2010 Apache Software Foundation. All Rights Reserved.