Class BatchedWrite
java.lang.Object
org.apache.activeio.journal.active.BatchedWrite
This contains all the data needed to write and force a list of records to a
LogFile. The more records that can be cramed into a single BatchedWrite, the
higher throughput that can be achived by a write and force operation.
- Version:
- $Revision: 1.1 $
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
error
-
-
Constructor Details
-
BatchedWrite
- Parameters:
packet
-
-
-
Method Details
-
append
- Parameters:
packet2
-mark2
-- Returns:
-
waitForForce
- Throws:
Throwable
-
forced
public void forced() -
writeFailed
-
getPacket
-
getMark
- Returns:
-
flip
- Throws:
InterruptedException
-
getForce
public boolean getForce()
-