MapContext.MemoryManagementResultCode (API Reference)
Enum Class MapContext.MemoryManagementResultCode
- All Implemented Interfaces:
Serializable,Comparable<MapContext.MemoryManagementResultCode>,Constable
- Enclosing class:
- MapContext
The memory management result code.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe memory management options were successfully applied.The memory management options could not be applied due to other errors.Both video memory and CPU tile cache limits were exceeded and limits were not applied.The requested memory limit exceeds the maximum allowed limit for CPU tile cache.The requested memory limit exceeds the maximum allowed limit for video memory. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
APPLIED
The memory management options were successfully applied.
-
TILE_CACHE_CPU_MEMORY_LIMIT_EXCEEDED
The requested memory limit exceeds the maximum allowed limit for CPU tile cache. Previous value of CPU tile cache limit is preserved. Video memory limit applied correctly.
-
VIDEO_MEMORY_LIMIT_EXCEEDED
The requested memory limit exceeds the maximum allowed limit for video memory. Previous value of video memory limit is preserved. CPU tile cache limit applied correctly.
-
FAILED_BOTH_MEMORY_LIMITS_EXCEEDED
Both video memory and CPU tile cache limits were exceeded and limits were not applied. Previous values of video memory and CPU tile cache limits are preserved.
-
FAILED
The memory management options could not be applied due to other errors.
-
-
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
-