All positional values are relative to file start, not the chunk.
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Deque | |
| private boolean | |
| private long | |
| private final boolean | |
| private final Path | |
| private final Predicate | |
| private final RecordingInput | |
| private long | |
| private final RecordingOutput | |
| private LongMap | |
| private final LongMap | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public void | |
| public void | close()
Implements java. Closes this stream and releases any system resources associated with it. |
| public void | |
| public RecordingInput | |
| pack-priv Constants | |
| public List | |
| public CheckpointEvent | |
| public void | |
| private void | |
| private void | |
| public void | |
| private void | |
| private void | |
| public void | |
| private void |
| checkpoints | back to summary |
|---|---|
| private final Deque<CheckpointEvent> checkpoints | |
| chunkComplete | back to summary |
|---|---|
| private boolean chunkComplete | |
| chunkStartPosition | back to summary |
|---|---|
| private long chunkStartPosition | |
| collectResults | back to summary |
|---|---|
| private final boolean collectResults | |
| destination | back to summary |
|---|---|
| private final Path destination | |
| filter | back to summary |
|---|---|
| private final Predicate<RecordedEvent> filter | |
| input | back to summary |
|---|---|
| private final RecordingInput input | |
| lastCheckpoint | back to summary |
|---|---|
| private long lastCheckpoint | |
| output | back to summary |
|---|---|
| private final RecordingOutput output | |
| pools | back to summary |
|---|---|
| private LongMap<Constants> pools | |
| removedEvents | back to summary |
|---|---|
| private final LongMap<ChunkWriter. | |
| waste | back to summary |
|---|---|
| private final Map<String, Long> waste | |
| ChunkWriter | back to summary |
|---|---|
| public ChunkWriter(Path source, Path destination, Predicate<RecordedEvent> filter, boolean collectResults) throws IOException | |
| accept | back to summary |
|---|---|
| public boolean accept(RecordedEvent event) | |
| beginChunk | back to summary |
|---|---|
| public void beginChunk(ChunkHeader header) throws IOException | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| endChunk | back to summary |
|---|---|
| public void endChunk(ChunkHeader header) throws IOException | |
| getInput | back to summary |
|---|---|
| public RecordingInput getInput() | |
| getPool | back to summary |
|---|---|
| pack-priv Constants getPool(Type type) | |
| getRemovedEventTypes | back to summary |
|---|---|
| public List | |
| newCheckpointEvent | back to summary |
|---|---|
| public CheckpointEvent newCheckpointEvent(long startPosition) | |
| touch | back to summary |
|---|---|
| public void touch(Object object) | |
| touchRef | back to summary |
|---|---|
| private void touchRef(Reference ref) | |
| updateHeader | back to summary |
|---|---|
| private void updateHeader(long size, long constantPosition, long metadataPosition) throws IOException | |
| write | back to summary |
|---|---|
| public void write(long startPosition, long endPosition) throws IOException | |
| write | back to summary |
|---|---|
| private void write(CheckpointEvent event, long delta) throws IOException | |
| writeCheckpointEvents | back to summary |
|---|---|
| private void writeCheckpointEvents(long before) throws IOException | |
| writeEvent | back to summary |
|---|---|
| public void writeEvent(long startPosition, long endPosition) throws IOException | |
| writeMetadataEvent | back to summary |
|---|---|
| private void writeMetadataEvent(ChunkHeader header) throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| private long | |
| public final String | |
| private long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(ChunkWriter.
Implements java. Compares this object with the specified object for order. |
| public String | |
| public String |
| count | back to summary |
|---|---|
| private long count | |
| name | back to summary |
|---|---|
| public final String name | |
| removed | back to summary |
|---|---|
| private long removed | |
| RemovedEvents | back to summary |
|---|---|
| private RemovedEvents(String name) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(ChunkWriter. Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| getName | back to summary |
|---|---|
| public String getName() | |
| share | back to summary |
|---|---|
| public String share() | |