org.apache.hadoop.chukwa.datacollection.sender
Interface ChukwaSender
- All Known Implementing Classes:
- AsyncAckSender, ChukwaHttpSender
public interface ChukwaSender
send
List<ChukwaHttpSender.CommitListEntry> send(List<Chunk> chunksToSend)
throws InterruptedException,
IOException
- Parameters:
chunksToSend
- a list of chunks to commit
- Returns:
- the list of committed chunks
- Throws:
InterruptedException
- if interrupted while trying to send
IOException
setCollectors
void setCollectors(Iterator<String> collectors)
stop
void stop()
Copyright © ${year} The Apache Software Foundation