public static enum RecoveryConfig.RecoveryAction extends Enum<RecoveryConfig.RecoveryAction>
| Enum Constant and Description |
|---|
AUTOMATICAutomatically attempt recovery without user intervention. |
DISABLE_SERVICEDisable the service until manual intervention. |
NOTIFY_ONLYFire the recovery recommendation event but don't auto-recover. |
| Modifier and Type | Method and Description |
|---|---|
static RecoveryConfig.RecoveryAction | valueOf(String name)Returns the enum constant of this type with the specified name. |
static RecoveryConfig.RecoveryAction[] | values()Returns an array containing the constants of this enum type, in the order they are declared. |
public static final RecoveryConfig.RecoveryAction AUTOMATIC
The service will clear the database directory and re-download fresh databases. This is suitable for production servers where unattended operation is required.
public static final RecoveryConfig.RecoveryAction NOTIFY_ONLY
This allows the application or user to decide whether to proceed with recovery. Suitable for interactive applications where user confirmation is desired.
public static final RecoveryConfig.RecoveryAction DISABLE_SERVICE
The service will stop accepting lookups and require manual reconfiguration to resume. Suitable for environments where failed geolocation should halt dependent operations.
public static RecoveryConfig.RecoveryAction[] values()
for (RecoveryConfig.RecoveryAction c : RecoveryConfig.RecoveryAction.values()) System.out.println(c);
public static RecoveryConfig.RecoveryAction 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 nullPhantom® and NetPhantom® are registered trademarks of Mindus SARL.
© 2026 Mindus SARL. All rights reserved.