@InterfaceAudience.Private
@InterfaceStability.Unstable
public interface ShuffleScheduler<K,V>
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
resolve(TaskCompletionEvent tce)
Interpret a
TaskCompletionEvent from the event stream. |
boolean |
waitUntilDone(int millis)
Wait until the shuffle finishes or until the timeout.
|
boolean waitUntilDone(int millis) throws InterruptedException
millis
- maximum wait timeInterruptedException
void resolve(TaskCompletionEvent tce) throws IOException, InterruptedException
TaskCompletionEvent
from the event stream.tce
- Intermediate output metadataIOException
InterruptedException
void close() throws InterruptedException
InterruptedException
Copyright © 2017 Apache Software Foundation. All Rights Reserved.