@InterfaceAudience.Public public abstract class AbstractLogicalIOProcessor extends Object implements LogicalIOProcessor, LogicalIOProcessorFrameworkInterface
LogicalIOProcessor
.
Implements the base logic of some methods into this class and is expected
to be the base class that is derived to implement the user Processor
Constructor and Description |
---|
AbstractLogicalIOProcessor(ProcessorContext context)
Constructor an instance of the LogicalProcessor.
|
Modifier and Type | Method and Description |
---|---|
void |
abort()
Indicates
Processor to abort. |
ProcessorContext |
getContext() |
abstract void |
initialize()
Initializes the
Processor |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
close, handleEvents
public AbstractLogicalIOProcessor(ProcessorContext context)
context
- the ProcessorContext
which provides
the Processor with context information within the running task.public abstract void initialize() throws Exception
ProcessorFrameworkInterface
Processor
initialize
in interface ProcessorFrameworkInterface
IOException
- if an error occursException
public final ProcessorContext getContext()
public void abort()
ProcessorFrameworkInterface
Processor
to abort. Cleanup can be done.abort
in interface ProcessorFrameworkInterface
Copyright © 2024 Apache Software Foundation. All rights reserved.