it.geosolutions.geobatch.settings.jai
Class JAISettings

java.lang.Object
  extended by it.geosolutions.geobatch.settings.GBSettings
      extended by it.geosolutions.geobatch.settings.jai.JAISettings

public class JAISettings
extends GBSettings

Author:
ETj (etj at geo-solutions.it)

Field Summary
static boolean DEFAULT_ImageIOCache
           
static boolean DEFAULT_JPEGNative
           
static double DEFAULT_MemoryCapacity
           
static double DEFAULT_MemoryThreshold
           
static boolean DEFAULT_MosaicNative
           
static boolean DEFAULT_PNGNative
           
static boolean DEFAULT_Recycling
           
static int DEFAULT_TilePriority
           
static int DEFAULT_TileThreads
           
 
Constructor Summary
JAISettings()
           
 
Method Summary
 javax.media.jai.JAI getJai()
           
 double getMemoryCapacity()
           
 double getMemoryThreshold()
           
 javax.media.jai.TileCache getTileCache()
           
 int getTilePriority()
           
 int getTileThreads()
           
 boolean isAllowInterpolation()
           
 boolean isAllowNativeMosaic()
           
 boolean isImageIOCache()
           
 boolean isJpegAcceleration()
           
 boolean isPngAcceleration()
           
 boolean isRecycling()
           
 void setAllowInterpolation(boolean allowInterpolation)
           
 void setAllowNativeMosaic(boolean allowNativeMosaic)
           
 void setImageIOCache(boolean imageIOCache)
           
 void setJai(javax.media.jai.JAI jai)
           
 void setJpegAcceleration(boolean jpegAcceleration)
           
 void setMemoryCapacity(double memoryCapacity)
           
 void setMemoryThreshold(double memoryThreshold)
           
 void setPngAcceleration(boolean pngAcceleration)
           
 void setRecycling(boolean recycling)
           
 void setTileCache(javax.media.jai.TileCache tileCache)
           
 void setTilePriority(int tilePriority)
           
 void setTileThreads(int tileThreads)
           
 java.lang.String toString()
           
 
Methods inherited from class it.geosolutions.geobatch.settings.GBSettings
getId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_Recycling

public static final boolean DEFAULT_Recycling
See Also:
Constant Field Values

DEFAULT_TilePriority

public static final int DEFAULT_TilePriority
See Also:
Constant Field Values

DEFAULT_TileThreads

public static final int DEFAULT_TileThreads
See Also:
Constant Field Values

DEFAULT_MemoryCapacity

public static final double DEFAULT_MemoryCapacity
See Also:
Constant Field Values

DEFAULT_MemoryThreshold

public static final double DEFAULT_MemoryThreshold
See Also:
Constant Field Values

DEFAULT_ImageIOCache

public static final boolean DEFAULT_ImageIOCache
See Also:
Constant Field Values

DEFAULT_PNGNative

public static final boolean DEFAULT_PNGNative
See Also:
Constant Field Values

DEFAULT_JPEGNative

public static final boolean DEFAULT_JPEGNative
See Also:
Constant Field Values

DEFAULT_MosaicNative

public static final boolean DEFAULT_MosaicNative
See Also:
Constant Field Values
Constructor Detail

JAISettings

public JAISettings()
Method Detail

getJai

public javax.media.jai.JAI getJai()
Returns:
the jai

setJai

public void setJai(javax.media.jai.JAI jai)
Parameters:
jai - the jai to set

getTileCache

public javax.media.jai.TileCache getTileCache()
Returns:
the tileCache

setTileCache

public void setTileCache(javax.media.jai.TileCache tileCache)
Parameters:
tileCache - the tileCache to set

isAllowInterpolation

public boolean isAllowInterpolation()
Returns:
the allowInterpolation

setAllowInterpolation

public void setAllowInterpolation(boolean allowInterpolation)
Parameters:
allowInterpolation - the allowInterpolation to set

isRecycling

public boolean isRecycling()
Returns:
the recycling

setRecycling

public void setRecycling(boolean recycling)
Parameters:
recycling - the recycling to set

getTilePriority

public int getTilePriority()
Returns:
the tilePriority

setTilePriority

public void setTilePriority(int tilePriority)
Parameters:
tilePriority - the tilePriority to set

getTileThreads

public int getTileThreads()
Returns:
the tileThreads

setTileThreads

public void setTileThreads(int tileThreads)
Parameters:
tileThreads - the tileThreads to set

getMemoryCapacity

public double getMemoryCapacity()
Returns:
the memoryCapacity

setMemoryCapacity

public void setMemoryCapacity(double memoryCapacity)
Parameters:
memoryCapacity - the memoryCapacity to set

getMemoryThreshold

public double getMemoryThreshold()
Returns:
the memoryThreshold

setMemoryThreshold

public void setMemoryThreshold(double memoryThreshold)
Parameters:
memoryThreshold - the memoryThreshold to set

isImageIOCache

public boolean isImageIOCache()
Returns:
the imageIOCache

setImageIOCache

public void setImageIOCache(boolean imageIOCache)
Parameters:
imageIOCache - the imageIOCache to set

isPngAcceleration

public boolean isPngAcceleration()
Returns:
the pngAcceleration

setPngAcceleration

public void setPngAcceleration(boolean pngAcceleration)
Parameters:
pngAcceleration - the pngAcceleration to set

isJpegAcceleration

public boolean isJpegAcceleration()
Returns:
the jpegAcceleration

setJpegAcceleration

public void setJpegAcceleration(boolean jpegAcceleration)
Parameters:
jpegAcceleration - the jpegAcceleration to set

isAllowNativeMosaic

public boolean isAllowNativeMosaic()
Returns:
the allowNativeMosaic

setAllowNativeMosaic

public void setAllowNativeMosaic(boolean allowNativeMosaic)
Parameters:
allowNativeMosaic - the allowNativeMosaic to set

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008-2012 GeoSolutions. All Rights Reserved.