public interface FragmentManager
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
FragmentContext |
getFragmentContext() |
ExecProtos.FragmentHandle |
getHandle() |
FragmentExecutor |
getRunnable()
Get the fragment runner for this incoming fragment.
|
boolean |
handle(IncomingDataBatch batch)
Handle the next incoming record batch.
|
boolean |
isCancelled()
Find out if the FragmentManager has been cancelled.
|
boolean |
isWaiting() |
void |
receivingFragmentFinished(ExecProtos.FragmentHandle handle) |
void |
unpause()
If the executor is paused (for testing), this method should unpause the executor.
|
boolean handle(IncomingDataBatch batch) throws FragmentSetupException, IOException
batch
- FragmentSetupException,
- IOExceptionFragmentSetupException
IOException
FragmentExecutor getRunnable()
void cancel()
boolean isCancelled()
void unpause()
boolean isWaiting()
ExecProtos.FragmentHandle getHandle()
FragmentContext getFragmentContext()
void receivingFragmentFinished(ExecProtos.FragmentHandle handle)
Copyright © 1970 The Apache Software Foundation. All rights reserved.