org.esa.beam.framework.gpf.experimental
Class OperatorExecutor2

java.lang.Object
  extended by org.esa.beam.framework.gpf.experimental.OperatorExecutor2

public class OperatorExecutor2
extends Object

This executor triggers the computation of all tiles that the bands of the target product of the given operator have. The computation of these tiles is may be parallelized to use all available CPUs (cores) using the JAI TileScheduler.

Requirements:
1. Receive raster data for all bands for a requested tile size.
2. Deterministic vs. Non-deterministic Op/Graph Execution (asynchronous, synchronous)
3. Efficient computation of single pixels (may not be implemented here, but in MultiLevelImage)
4. Immediate Execution
5. Configurable with respect to e.g. parallelism, execution order

Since:
BEAM 4.9
Author:
Marco Zuehlke, Norman Fomferra

Nested Class Summary
static interface OperatorExecutor2.Frame
           
static interface OperatorExecutor2.Handler
           
 
Constructor Summary
OperatorExecutor2(Product product)
           
 
Method Summary
 Object execute(OperatorExecutor2.Handler handler)
          Calls the given handler for all frames of the product the operator executor product.
 Dimension getFrameSize()
           
 void setFrameSize(int w, int h)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperatorExecutor2

public OperatorExecutor2(Product product)
Method Detail

getFrameSize

public Dimension getFrameSize()

setFrameSize

public void setFrameSize(int w,
                         int h)

execute

public Object execute(OperatorExecutor2.Handler handler)
               throws Exception
Calls the given handler for all frames of the product the operator executor product.

Parameters:
handler -
Returns:
Throws:
Exception


Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.