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
Modifier and Type | Class and Description |
---|---|
static interface |
OperatorExecutor2.Frame |
static interface |
OperatorExecutor2.Handler |
Constructor and Description |
---|
OperatorExecutor2(Product product) |
Modifier and Type | Method and Description |
---|---|
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) |
public OperatorExecutor2(Product product)
public Dimension getFrameSize()
public void setFrameSize(int w, int h)
public Object execute(OperatorExecutor2.Handler handler) throws Exception
Exception
Copyright © 2002–2014 Brockmann Consult GmbH. All rights reserved.