@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
Events. |
void |
initialize()
Initializes the
Processor |
void initialize()
throws Exception
ProcessorIOException - if an error occursExceptionvoid handleEvents(List<Event> processorEvents)
Events.processorEvents - the list of Eventsvoid close()
throws Exception
ProcessorIOException - if an error occursException@InterfaceStability.Unstable void abort()
Processor to abort. Cleanup can be done.Copyright © 2024 Apache Software Foundation. All rights reserved.