- <init>
- close
wait for all pending packets to be acked. Then shutdown thread.
- enqueue
enqueue the seqno that is still be to acked by the downstream datanode.
- finalizeBlock
Finalize the block and close the block file
- isRunning
- removeAckHead
Remove a packet from the head of the ack queue This should be called only when
the ack queue is not
- sendAckUpstream
The wrapper for the unprotected version. This is only called by the responder's
run() method.
- sendAckUpstreamUnprotected
- sendOOBResponse
Send an OOB response. If all acks have been sent already for the block and the
responder is about to
- waitForAckHead
Wait for a packet with given seqno to be enqueued to ackQueue