public enum RecoveryManagerStatus extends Enum<RecoveryManagerStatus>
RecoveryManagerImple.trySuspendScan(boolean)
Enum Constant and Description |
---|
ENABLED
state value indicating that new scans may proceed (
PeriodicRecovery.Mode.ENABLED ) |
SUSPENDED
state value indicating that new scans may not proceed and the periodic recovery thread should
suspend (
PeriodicRecovery.Mode.SUSPENDED ) |
TERMINATED
state value indicating that new scans may not proceed and that the singleton
PeriodicRecovery thread instance should exit if it is still running (
PeriodicRecovery.Mode.TERMINATED ) |
Modifier and Type | Method and Description |
---|---|
static RecoveryManagerStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecoveryManagerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecoveryManagerStatus ENABLED
PeriodicRecovery.Mode.ENABLED
)public static final RecoveryManagerStatus SUSPENDED
PeriodicRecovery.Mode.SUSPENDED
)public static final RecoveryManagerStatus TERMINATED
PeriodicRecovery.Mode.TERMINATED
)public static RecoveryManagerStatus[] values()
for (RecoveryManagerStatus c : RecoveryManagerStatus.values()) System.out.println(c);
public static RecoveryManagerStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021 JBoss by Red Hat. All rights reserved.