Package org.esa.snap.core.gpf.monitor
Class TileComputationObserver
java.lang.Object
org.esa.snap.core.gpf.monitor.TileComputationObserver
- Direct Known Subclasses:
OperatorRuntimeReport,TileComputationEventLogger,TileUsageReportGenerator
Gets notified once a new tile has been computed.
The framework uses observers as follows:
- Since:
- BEAM 4.9
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Loggerfinal voidabstract voidstart()Starts observation of tile computation events.abstract voidstop()Stops observation of tile computation events.abstract voidtileComputed(TileComputationEvent event) Called each time a tile has been computed.
-
Constructor Details
-
TileComputationObserver
public TileComputationObserver()
-
-
Method Details
-
getLogger
- Returns:
- A logger.
-
setLogger
-
start
public abstract void start()Starts observation of tile computation events. -
tileComputed
Called each time a tile has been computed. This method is usually called asynchronously by multiple threads. It should perform very fast.- Parameters:
event- The tile computation event.
-
stop
public abstract void stop()Stops observation of tile computation events.
-