Package org.esa.snap.core.gpf.monitor
Class TileUsageReportGenerator
- java.lang.Object
-
- org.esa.snap.core.gpf.monitor.TileComputationObserver
-
- org.esa.snap.core.gpf.monitor.TileUsageReportGenerator
-
public class TileUsageReportGenerator extends TileComputationObserver
A tile observer which produces tile usage reports from Velocity template files. May be used as a value for the 'snap.config' variable 'snap.gpf.tileComputationObserver'.- Since:
- BEAM 4.9
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TileUsageReportGenerator.GroupingComparator
static class
TileUsageReportGenerator.ImagesComparator
static class
TileUsageReportGenerator.StartTimeComparator
static class
TileUsageReportGenerator.Task
static class
TileUsageReportGenerator.ThreadNamesComparator
static class
TileUsageReportGenerator.TileIndicesComparator
-
Field Summary
Fields Modifier and Type Field Description static int
CHART_WIDTH
-
Constructor Summary
Constructors Constructor Description TileUsageReportGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
start()
Starts observation of tile computation events.void
stop()
Stops observation of tile computation events.void
tileComputed(TileComputationEvent event)
Called each time a tile has been computed.-
Methods inherited from class org.esa.snap.core.gpf.monitor.TileComputationObserver
getLogger, setLogger
-
-
-
-
Field Detail
-
CHART_WIDTH
public static final int CHART_WIDTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public void start()
Description copied from class:TileComputationObserver
Starts observation of tile computation events.- Specified by:
start
in classTileComputationObserver
-
tileComputed
public void tileComputed(TileComputationEvent event)
Description copied from class:TileComputationObserver
Called each time a tile has been computed. This method is usually called asynchronously by multiple threads. It should perform very fast.- Specified by:
tileComputed
in classTileComputationObserver
- Parameters:
event
- The tile computation event.
-
stop
public void stop()
Description copied from class:TileComputationObserver
Stops observation of tile computation events.- Specified by:
stop
in classTileComputationObserver
-
-