Enum ScanState

java.lang.Object
java.lang.Enum<ScanState>
org.apache.accumulo.core.client.admin.ScanState
All Implemented Interfaces:
Serializable, Comparable<ScanState>

public enum ScanState extends Enum<ScanState>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Indicates no work is currently queued or running to fetch the next batch of key/values for a scan.
    Indicates a task is queued in a server side thread pool to fetch the next bach of key/values for a scan.
    Indicates a task is running in a server side thread pool to fetch the next batch of key/values for a scan.
  • Method Summary

    Modifier and Type
    Method
    Description
    static ScanState
    Returns the enum constant of this type with the specified name.
    static ScanState[]
    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 Details

    • IDLE

      public static final ScanState IDLE
      Indicates no work is currently queued or running to fetch the next batch of key/values for a scan. This could be because the server is waiting for a client to retrieve a batch of key/values its has already fetched and is buffering.
    • RUNNING

      public static final ScanState RUNNING
      Indicates a task is running in a server side thread pool to fetch the next batch of key/values for a scan.
    • QUEUED

      public static final ScanState QUEUED
      Indicates a task is queued in a server side thread pool to fetch the next bach of key/values for a scan.
  • Method Details

    • values

      public static ScanState[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

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