Class PendingAddOp

java.lang.Object
org.apache.bookkeeper.client.PendingAddOp
All Implemented Interfaces:
BookkeeperInternalCallbacks.WriteCallback

class PendingAddOp extends Object implements BookkeeperInternalCallbacks.WriteCallback
This represents a pending add operation. When it has got success from all bookies, it sees if its at the head of the pending adds queue, and if yes, sends ack back to the application. If a bookie fails, a replacement is made and placed at the same position in the ensemble. The pending adds are then rereplicated.