public final class BatchedWrite extends Object
Constructor and Description |
---|
BatchedWrite(Packet packet) |
public Throwable error
public BatchedWrite(Packet packet)
packet
- public boolean append(Record record, Location recordMark, boolean force)
packet2
- mark2
- public void forced()
public void writeFailed(Throwable error)
public Packet getPacket()
public Location getMark()
public void flip() throws InterruptedException
InterruptedException
public boolean getForce()
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.