net.citrusleaf
Enum CitrusleafClient.ClScanningPriority

java.lang.Object
  extended by java.lang.Enum<CitrusleafClient.ClScanningPriority>
      extended by net.citrusleaf.CitrusleafClient.ClScanningPriority
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CitrusleafClient.ClScanningPriority>
Enclosing class:
CitrusleafClient

public static enum CitrusleafClient.ClScanningPriority
extends java.lang.Enum<CitrusleafClient.ClScanningPriority>

Priority of scan operations on database server.


Enum Constant Summary
AUTO
          A server node autonomously decides how many scan threads to use based on factors such as the number of storage devices.
HIGH
          Currently this means a server node will use five scan threads.
LOW
          Currently this means a server node will use one scan thread.
MEDIUM
          Currently this means a server node will use three scan threads.
 
Method Summary
static CitrusleafClient.ClScanningPriority valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CitrusleafClient.ClScanningPriority[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AUTO

public static final CitrusleafClient.ClScanningPriority AUTO
A server node autonomously decides how many scan threads to use based on factors such as the number of storage devices.


LOW

public static final CitrusleafClient.ClScanningPriority LOW
Currently this means a server node will use one scan thread.


MEDIUM

public static final CitrusleafClient.ClScanningPriority MEDIUM
Currently this means a server node will use three scan threads.


HIGH

public static final CitrusleafClient.ClScanningPriority HIGH
Currently this means a server node will use five scan threads.

Method Detail

values

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

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

valueOf

public static CitrusleafClient.ClScanningPriority 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