PersistentMapRepairError (API Reference)
Enum Class PersistentMapRepairError
- All Implemented Interfaces:
Serializable,Comparable<PersistentMapRepairError>,Constable
Specifies possible errors that may result after a map repair operation has been completed.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe persisted map data can't be recovered and all map data was fully deleted.Unrecoverable error during construction of pending update parameters.Invalid persistent map path.It is not possible to retrieve the list of downloaded regions.The map data version was not cached.Repair is invoked on object connected to the disposedSDKNativeEnginePersistent map is repaired, but some map data is lost.An unknown error occurred. -
Method Summary
Modifier and TypeMethodDescriptionstatic PersistentMapRepairErrorReturns the enum constant of this class with the specified name.static PersistentMapRepairError[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PARTIALLY_RESTORED
Persistent map is repaired, but some map data is lost. Lost regions marked with a PENDING status.
-
INVALID_PATH
Invalid persistent map path. The provided path to store the persistent map data doesn't own the required Read/Write (RW) permissions. Try to choose a different path with RW permissions.
-
BROKEN_DB
The persisted map data can't be recovered and all map data was fully deleted. It is recommended, to ask the user if they want to try to download the lost regions again.
-
NO_OFFLINE_VERSION
The map data version was not cached. The region list data will be cleared from the persisted storage. It is recommended to download the list of downloadable regions again. After this it is recommended to try to repair the corrupted map data again.
-
NO_JOURNAL
It is not possible to retrieve the list of downloaded regions. The region list data will be cleared from the persisted storage. It is recommended to download the list of downloadable regions again. After this it is recommended to try to repair the corrupted map data again.
-
BROKEN_UPDATE
Unrecoverable error during construction of pending update parameters. Operations such as catalog updates or region downloads will fail. The healing procedure is to clean persistent map with
sdk.maploader.MapDownloader.clear_persistent_map_storage. -
OPERATION_AFTER_DISPOSE
Repair is invoked on object connected to the disposed
SDKNativeEngine -
UNKNOWN
An unknown error occurred. Try to clear the persisted storage by calling
sdk.maploader.MapDownloader.clear_persistent_map_storage. It is recommended, to ask the user if they want to try to download the lost regions again.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-