@InterfaceAudience.Public
public interface ProcessorFrameworkInterface
Processor
.
This interface has methods which are used by the Tez framework to control the Processor.
Users are expected to derive from AbstractLogicalIOProcessor
Modifier and Type | Method and Description |
---|---|
void |
abort()
Indicates
Processor to abort. |
void |
close()
Closes the
Processor |
void |
handleEvents(List<Event> processorEvents)
Handles user and system generated
Event s. |
void |
initialize()
Initializes the
Processor |
void initialize() throws Exception
Processor
IOException
- if an error occursException
void handleEvents(List<Event> processorEvents)
Event
s.processorEvents
- the list of Event
svoid close() throws Exception
Processor
IOException
- if an error occursException
@InterfaceStability.Unstable void abort()
Processor
to abort. Cleanup can be done.Copyright © 2024 Apache Software Foundation. All rights reserved.