@InterfaceAudience.Public public abstract class AbstractLogicalOutput extends Object implements LogicalOutput, LogicalOutputFrameworkInterface
| Constructor and Description |
|---|
AbstractLogicalOutput(OutputContext outputContext,
int numPhysicalOutputs)
Constructor an instance of the LogicalOutput.
|
| Modifier and Type | Method and Description |
|---|---|
OutputContext |
getContext()
Return the
OutputContext for this specific instance of
the LogicalOutput |
int |
getNumPhysicalOutputs()
Get the number of physical outputs that this LogicalOutput is expected to generate.
|
abstract List<Event> |
initialize()
Initializes the
Output |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, handleEventspublic AbstractLogicalOutput(OutputContext outputContext, int numPhysicalOutputs)
outputContext - the OutputContext which
provides
the Output with context information within the running task.numPhysicalOutputs - the number of physical outputs that the logical output will
generate. This is typically determined by Edge Routing.public abstract List<Event> initialize() throws Exception
OutputFrameworkInterfaceOutputinitialize in interface OutputFrameworkInterfaceException - if an error occurspublic final int getNumPhysicalOutputs()
public final OutputContext getContext()
OutputContext for this specific instance of
the LogicalOutputOutputContext for the outputCopyright © 2024 Apache Software Foundation. All rights reserved.