Package org.apache.sis.image
Enum Class ImageProcessor.Mode
- All Implemented Interfaces:
- Serializable,- Comparable<ImageProcessor.Mode>,- Constable
- Enclosing class:
- ImageProcessor
Execution modes specifying whether operations can be executed in parallel.
 If 
SEQUENTIAL, operations are executed sequentially in the caller thread.
 If PARALLEL, some operations may be parallelized using an arbitrary number of threads.- 
Nested Class SummaryNested classes/interfaces inherited from class EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionOperations are executed in multi-threaded mode if theRenderedImageinstance is an implementation known to be thread-safe.Operations executed in multi-threaded mode if possible.Operations executed in the caller thread, without parallelization.
- 
Method SummaryModifier and TypeMethodDescriptionstatic ImageProcessor.ModeReturns the enum constant of this class with the specified name.static ImageProcessor.Mode[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enumclone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- 
Enum Constant Details- 
PARALLELOperations executed in multi-threaded mode if possible. This mode can be used if theRenderedImageinstances are thread-safe and provide a concurrent (or very fast) implementation ofRenderedImage.getTile(int, int).
- 
SEQUENTIALOperations executed in the caller thread, without parallelization. Sequential operations may be useful for processingRenderedImageimplementations that may not be thread-safe.
- 
DEFAULTOperations are executed in multi-threaded mode if theRenderedImageinstance is an implementation known to be thread-safe. All operations on image implementations unknown to Apache SIS are executed in sequential mode.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-