public interface OutputProtocol
Modifier and Type | Interface and Description |
---|---|
static interface |
OutputProtocol.Callback |
Modifier and Type | Method and Description |
---|---|
void |
complete()
Called when a task's output has completed without error.
|
void |
configure(int port)
Configure task.
|
void |
count(String group,
String name,
long amount)
Increment a task/job counter.
|
void |
fail(String message)
Called by a failing task to abort.
|
void |
output(ByteBuffer datum)
Send an output datum.
|
void |
outputPartitioned(int partition,
ByteBuffer datum)
Send map output datum explicitly naming its partition.
|
void |
status(String message)
Update the task's status message.
|
static final Protocol PROTOCOL
void configure(int port)
void output(ByteBuffer datum)
void outputPartitioned(int partition, ByteBuffer datum)
void status(String message)
void fail(String message)
void complete()
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.