public static enum PeriodicRecovery.Mode extends Enum<PeriodicRecovery.Mode>
PeriodicRecovery._currentMode
n.b. PeriodicRecovery._currentStatus
may not transition to state SCANNING when
PeriodicRecovery._currentStatus
is in state SUSPENDED or TERMINATED. However, if a scan is in
progress when PeriodicRecovery._currentMode
transitions to state SUSPENDED or TERMINATED
PeriodicRecovery._currentStatus
may (temporarily) remain in state SCANNING before transitioning
to state INACTIVE.Enum Constant and Description |
---|
ENABLED
state value indicating that new scans may proceed
|
SUSPENDED
state value indicating that new scans may not proceed and the periodic recovery thread should suspend
|
TERMINATED
state value indicating that new scans may not proceed and that the singleton
PeriodicRecovery thread instance should exit if it is still running
|
Modifier and Type | Method and Description |
---|---|
static PeriodicRecovery.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PeriodicRecovery.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeriodicRecovery.Mode ENABLED
public static final PeriodicRecovery.Mode SUSPENDED
public static final PeriodicRecovery.Mode TERMINATED
public static PeriodicRecovery.Mode[] values()
for (PeriodicRecovery.Mode c : PeriodicRecovery.Mode.values()) System.out.println(c);
public static PeriodicRecovery.Mode 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.