public static enum IMemoryManageable.FreeMemoryLevel extends Enum<IMemoryManageable.FreeMemoryLevel>
| Enum Constant and Description |
|---|
EXPIRED_ONLY
Only data that expired, this is the lowest level.
|
LOW
Low criticity, the implementation can just free some objects.
|
MEDIUM
Medium criticity, the implementation is not requested to free everything, but as much as possible.
|
URGENT
Urgent criticity, all possible memory should be freed.
|
| Modifier and Type | Method and Description |
|---|---|
static IMemoryManageable.FreeMemoryLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IMemoryManageable.FreeMemoryLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IMemoryManageable.FreeMemoryLevel EXPIRED_ONLY
public static final IMemoryManageable.FreeMemoryLevel LOW
public static final IMemoryManageable.FreeMemoryLevel MEDIUM
public static final IMemoryManageable.FreeMemoryLevel URGENT
public static IMemoryManageable.FreeMemoryLevel[] values()
for (IMemoryManageable.FreeMemoryLevel c : IMemoryManageable.FreeMemoryLevel.values()) System.out.println(c);
public static IMemoryManageable.FreeMemoryLevel 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 © 2019. All rights reserved.