org.deegree.coverage.raster.data.container
Enum RasterDataContainerFactory.LoadingPolicy

java.lang.Object
  extended by java.lang.Enum<RasterDataContainerFactory.LoadingPolicy>
      extended by org.deegree.coverage.raster.data.container.RasterDataContainerFactory.LoadingPolicy
All Implemented Interfaces:
Serializable, Comparable<RasterDataContainerFactory.LoadingPolicy>
Enclosing class:
RasterDataContainerFactory

public static enum RasterDataContainerFactory.LoadingPolicy
extends Enum<RasterDataContainerFactory.LoadingPolicy>

Defines how raster should be loaded/stored.


Enum Constant Summary
CACHED
          Use caching.
LAZY
          Load raster on first access and keep in memory
MEMORY
          Load raster right away and keep in memory
NONE
          No caching, alias for MEMORY
 
Method Summary
static RasterDataContainerFactory.LoadingPolicy valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RasterDataContainerFactory.LoadingPolicy[] 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

NONE

public static final RasterDataContainerFactory.LoadingPolicy NONE
No caching, alias for MEMORY


MEMORY

public static final RasterDataContainerFactory.LoadingPolicy MEMORY
Load raster right away and keep in memory


LAZY

public static final RasterDataContainerFactory.LoadingPolicy LAZY
Load raster on first access and keep in memory


CACHED

public static final RasterDataContainerFactory.LoadingPolicy CACHED
Use caching. Load raster on first access and cache in memory

Method Detail

values

public static RasterDataContainerFactory.LoadingPolicy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RasterDataContainerFactory.LoadingPolicy c : RasterDataContainerFactory.LoadingPolicy.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RasterDataContainerFactory.LoadingPolicy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2011. All Rights Reserved.