|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DiskCachedTile.TileAction>
org.jaitools.tilecache.DiskCachedTile.TileAction
public static enum DiskCachedTile.TileAction
Constants identifying tile actions.
| Enum Constant Summary | |
|---|---|
ACTION_ACCESSED
Value that will be returned by getAction() when the tile is accessed via the cache |
|
ACTION_ADDED
Value that will be returned by getAction() when the tile has been added to the cache |
|
ACTION_ADDED_RESIDENT
Value that will be returned by getAction() when the tile has been added to the cache and immediately loaded into memory |
|
ACTION_GARBAGE_COLLECTED
Value that will be returned by getAction() when the tile's raster has been garbage collected |
|
ACTION_NON_RESIDENT
Value that will be returned by getAction() when the tile is removed from memory |
|
ACTION_REMOVED
Value that will be returned by getAction() when the tile is removed from the cache entirely |
|
ACTION_RESIDENT
Value that will be returned by getAction() when the tile becomes resident in memory |
|
| Method Summary | |
|---|---|
static DiskCachedTile.TileAction |
get(int actionValue)
Reverse lookup. |
int |
getAction()
Retrieves an int associated to this action for interoperability with CachedTile interface. |
static DiskCachedTile.TileAction |
getDefault()
The default action. |
String |
getDescription()
Retrieves a description of this action |
static DiskCachedTile.TileAction |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DiskCachedTile.TileAction[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DiskCachedTile.TileAction ACTION_ADDED
public static final DiskCachedTile.TileAction ACTION_ADDED_RESIDENT
public static final DiskCachedTile.TileAction ACTION_RESIDENT
public static final DiskCachedTile.TileAction ACTION_NON_RESIDENT
public static final DiskCachedTile.TileAction ACTION_REMOVED
public static final DiskCachedTile.TileAction ACTION_ACCESSED
public static final DiskCachedTile.TileAction ACTION_GARBAGE_COLLECTED
| Method Detail |
|---|
public static DiskCachedTile.TileAction[] values()
for (DiskCachedTile.TileAction c : DiskCachedTile.TileAction.values()) System.out.println(c);
public static DiskCachedTile.TileAction valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int getAction()
CachedTile interface.
CachedTile interface.public String getDescription()
public static DiskCachedTile.TileAction get(int actionValue)
actionValue - integer value of the action
public static DiskCachedTile.TileAction getDefault()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||