org.alfresco.repo.node.index
Class FullIndexRecoveryComponent.RecoveryMode
java.lang.Object
java.lang.Enum
org.alfresco.repo.node.index.FullIndexRecoveryComponent.RecoveryMode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable
- Enclosing class:
- FullIndexRecoveryComponent
public static final class FullIndexRecoveryComponent.RecoveryMode
- extends java.lang.Enum
- See Also:
- Serialized Form
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 |
NONE
public static final FullIndexRecoveryComponent.RecoveryMode NONE
- Do nothing - not even a check.
VALIDATE
public static final FullIndexRecoveryComponent.RecoveryMode VALIDATE
- Perform a quick check on the state of the indexes. This only checks that the
first N and last M transactions are present in the index and doesn't guarantee that
the indexes are wholely consistent. Normally, the indexes are consistent up to a certain time.
AUTO
public static final FullIndexRecoveryComponent.RecoveryMode AUTO
- Performs a validation and starts a recovery if necessary. In this mode, if start
transactions are missing then FULL mode is enabled. If end transactions are missing
then the indexes will be "topped up" to bring them up to date.
FULL
public static final FullIndexRecoveryComponent.RecoveryMode FULL
- Performs a full pass-through of all recorded transactions to ensure that the indexes
are up to date.
values
public static FullIndexRecoveryComponent.RecoveryMode[] values()
valueOf
public static FullIndexRecoveryComponent.RecoveryMode valueOf(java.lang.String name)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.