Uses of Class
org.apache.sis.internal.coverage.j2d.TileErrorHandler
Packages that use TileErrorHandler
Package
Description
Provides helper classes for handling Java2D rendered images together with some operations.
A set of helper classes for the SIS implementation backed by Java2D.
-
Uses of TileErrorHandler in org.apache.sis.image
Methods in org.apache.sis.image with parameters of type TileErrorHandlerModifier and TypeMethodDescriptionvoid
PrefetchedImage.execute
(Runnable action, TileErrorHandler errorHandler) Executes the given action in a mode where errors occurring inRenderedImage.getTile(int, int)
are reported to the given handler instead of stopping the operation. -
Uses of TileErrorHandler in org.apache.sis.internal.coverage.j2d
Fields in org.apache.sis.internal.coverage.j2d declared as TileErrorHandlerModifier and TypeFieldDescriptionprivate TileErrorHandler
TileOpExecutor.errorHandler
Where to report exceptions, orTHROW
for throwing them.static final TileErrorHandler
TileErrorHandler.THROW
Exceptions are wrapped in anImagingOpException
and thrown.Methods in org.apache.sis.internal.coverage.j2d with parameters of type TileErrorHandlerModifier and TypeMethodDescriptionvoid
TileErrorHandler.Executor.execute
(Runnable action, TileErrorHandler errorHandler) Executes the given action in a mode where errors occurring inRenderedImage.getTile(int, int)
are reported to the given handler instead of stopping the operation.(package private) static <A,
R> R TileOpExecutor.ReadWork.execute
(TileOpExecutor executor, RenderedImage source, Collector<? super Raster, A, R> collector, TileErrorHandler errorHandler) Implementation ofTileOpExecutor.executeOnReadable(RenderedImage, Collector)
.(package private) static <A,
R> R TileOpExecutor.WriteWork.execute
(TileOpExecutor executor, WritableRenderedImage target, Collector<? super WritableRaster, A, R> collector, TileErrorHandler errorHandler) Implementation ofTileOpExecutor.executeOnWritable(WritableRenderedImage, Collector)
.(package private) final <R> R
TileOpExecutor.Cursor.finish
(Future<?>[] workers, Collector<?, A, R> collector, TileErrorHandler errorHandler) Invoked after the current thread finished to process all its tiles.