|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OutputProtocol
Nested Class Summary | |
---|---|
static interface |
OutputProtocol.Callback
|
Field Summary | |
---|---|
static Protocol |
PROTOCOL
|
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final Protocol PROTOCOL
Method Detail |
---|
void configure(int port)
void output(ByteBuffer datum)
void outputPartitioned(int partition, ByteBuffer datum)
void status(String message)
void count(String group, String name, long amount)
void fail(String message)
void complete()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |