com.sleepycat.je.recovery
Enum DirtyINMap.CkptState

java.lang.Object
  extended by java.lang.Enum<DirtyINMap.CkptState>
      extended by com.sleepycat.je.recovery.DirtyINMap.CkptState
All Implemented Interfaces:
Serializable, Comparable<DirtyINMap.CkptState>
Enclosing class:
DirtyINMap

static enum DirtyINMap.CkptState
extends Enum<DirtyINMap.CkptState>


Enum Constant Summary
DIRTY_MAP_COMPLETE
          Checkpoint in progress and dirty map is complete.
DIRTY_MAP_INCOMPLETE
          Checkpoint started but dirty map is not yet complete.
NONE
          No checkpoint in progress, or is used for Database.sync.
 
Method Summary
static DirtyINMap.CkptState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DirtyINMap.CkptState[] 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

NONE

public static final DirtyINMap.CkptState NONE
No checkpoint in progress, or is used for Database.sync.


DIRTY_MAP_INCOMPLETE

public static final DirtyINMap.CkptState DIRTY_MAP_INCOMPLETE
Checkpoint started but dirty map is not yet complete.


DIRTY_MAP_COMPLETE

public static final DirtyINMap.CkptState DIRTY_MAP_COMPLETE
Checkpoint in progress and dirty map is complete.

Method Detail

values

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

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

valueOf

public static DirtyINMap.CkptState 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 (c) 2004-2012 Oracle. All rights reserved.