| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final StreamBarrier | |
| private final ByteBuffer | |
| private int | |
| pack-priv static final byte | |
| private final ChunkFilename | |
| private final Deque | |
| pack-priv static final byte | |
| private byte[] | |
| private DiskRepository. | |
| private final Deque | |
| private final boolean | |
| private final Path | |
| private int | |
| private final Deque | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| private int | |
| private int | |
| private int | |
| private Duration | |
| private long | |
| pack-priv static final byte | |
| private long | |
| private RandomAccessFile | |
| private byte | |
| private RandomAccessFile | |
| private long | |
| private int | |
| private DiskRepository. | |
| private long | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public StreamBarrier | |
| private void | |
| private void | |
| public synchronized void | close()
Implements java. Closes this stream and releases any system resources associated with it. |
| public synchronized void | |
| private void | |
| private void | |
| public synchronized FileDump | |
| private byte | |
| private DiskRepository. | |
| public synchronized void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public synchronized void | |
| public synchronized void | |
| private void | |
| private void | |
| public synchronized void | |
| private void | |
| private void |
| barrier | back to summary |
|---|---|
| private final StreamBarrier barrier | |
| buffer | back to summary |
|---|---|
| private final ByteBuffer buffer | |
| bufferIndex | back to summary |
|---|---|
| private int bufferIndex | |
| CHECKPOINT_WITH_HEADER | back to summary |
|---|---|
| pack-priv static final byte CHECKPOINT_WITH_HEADER | |
| chunkFilename | back to summary |
|---|---|
| private final ChunkFilename chunkFilename | |
| chunks | back to summary |
|---|---|
| private final Deque<DiskRepository. | |
| COMPLETE_STATE | back to summary |
|---|---|
| pack-priv static final byte COMPLETE_STATE | |
| currentByteArray | back to summary |
|---|---|
| private byte[] currentByteArray | |
| currentChunk | back to summary |
|---|---|
| private DiskRepository. | |
| deadChunks | back to summary |
|---|---|
| private final Deque<DiskRepository. | |
| deleteDirectory | back to summary |
|---|---|
| private final boolean deleteDirectory | |
| directory | back to summary |
|---|---|
| private final Path directory | |
| eventFieldSize | back to summary |
|---|---|
| private int eventFieldSize | |
| fileDumps | back to summary |
|---|---|
| private final Deque<FileDump> fileDumps | |
| HEADER_FILE_DURATION | back to summary |
|---|---|
| pack-priv static final int HEADER_FILE_DURATION | |
| HEADER_FILE_STATE_POSITION | back to summary |
|---|---|
| pack-priv static final int HEADER_FILE_STATE_POSITION | |
| HEADER_SIZE | back to summary |
|---|---|
| pack-priv static final int HEADER_SIZE | |
| HEADER_START_NANOS_POSITION | back to summary |
|---|---|
| pack-priv static final int HEADER_START_NANOS_POSITION | |
| index | back to summary |
|---|---|
| private int index | |
| lastFlush | back to summary |
|---|---|
| private int lastFlush | |
| longValueshift | back to summary |
|---|---|
| private int longValueshift | |
| maxAge | back to summary |
|---|---|
| private Duration maxAge | |
| maxSize | back to summary |
|---|---|
| private long maxSize | |
| MODIFYING_STATE | back to summary |
|---|---|
| pack-priv static final byte MODIFYING_STATE | |
| payLoadSize | back to summary |
|---|---|
| private long payLoadSize | |
| previousRAF | back to summary |
|---|---|
| private RandomAccessFile previousRAF | |
| previousRAFstate | back to summary |
|---|---|
| private byte previousRAFstate | |
| raf | back to summary |
|---|---|
| private RandomAccessFile raf | |
| size | back to summary |
|---|---|
| private long size | |
| sizeShift | back to summary |
|---|---|
| private int sizeShift | |
| state | back to summary |
|---|---|
| private DiskRepository. | |
| typeId | back to summary |
|---|---|
| private long typeId | |
| typeIdshift | back to summary |
|---|---|
| private int typeIdshift | |
| DiskRepository | back to summary |
|---|---|
| public DiskRepository(Path path, boolean deleteDirectory) throws IOException | |
| activateStreamBarrier | back to summary |
|---|---|
| public StreamBarrier activateStreamBarrier() | |
| addChunk | back to summary |
|---|---|
| private void addChunk(DiskRepository. | |
| cleanUpDeadChunk | back to summary |
|---|---|
| private void cleanUpDeadChunk(int maxCount) | |
| close | back to summary |
|---|---|
| public synchronized 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
| |
| complete | back to summary |
|---|---|
| public synchronized void complete() | |
| completePrevious | back to summary |
|---|---|
| private void completePrevious(DiskRepository. | |
| flush | back to summary |
|---|---|
| private void flush() throws IOException | |
| newDump | back to summary |
|---|---|
| public synchronized FileDump newDump(long endTime) | |
| nextByte | back to summary |
|---|---|
| private byte nextByte(boolean inEvent) | |
| nextChunk | back to summary |
|---|---|
| private DiskRepository. | |
| onChunkComplete | back to summary |
|---|---|
| public synchronized void onChunkComplete(long endTimeNanos) | |
| processCheckpointHeader | back to summary |
|---|---|
| private void processCheckpointHeader() throws IOException | |
| processEvent | back to summary |
|---|---|
| private void processEvent() | |
| processEventSize | back to summary |
|---|---|
| private void processEventSize() throws IOException | |
| processEventTypeId | back to summary |
|---|---|
| private void processEventTypeId() | |
| processFlush | back to summary |
|---|---|
| private void processFlush() throws IOException | |
| processInitialHeader | back to summary |
|---|---|
| private void processInitialHeader() throws IOException | |
| processNumericValueInEvent | back to summary |
|---|---|
| private void processNumericValueInEvent() | |
| removeOldestChunk | back to summary |
|---|---|
| private void removeOldestChunk() | |
| setMaxAge | back to summary |
|---|---|
| public synchronized void setMaxAge(Duration maxAge) | |
| setMaxSize | back to summary |
|---|---|
| public synchronized void setMaxSize(long maxSize) | |
| trimToAge | back to summary |
|---|---|
| private void trimToAge(Instant oldest) | |
| trimToSize | back to summary |
|---|---|
| private void trimToSize() | |
| write | back to summary |
|---|---|
| public synchronized void write(byte[] bytes) throws IOException | |
| writeCheckpointHeader | back to summary |
|---|---|
| private void writeCheckpointHeader() throws IOException | |
| writeInitialHeader | back to summary |
|---|---|
| private void writeInitialHeader() throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Instant | |
| pack-priv long | |
| pack-priv final Path | |
| pack-priv int | |
| pack-priv final DiskRepository | |
| pack-priv long | |
| pack-priv final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private void | |
| public boolean | |
| public Path | |
| public void |
| endTime | back to summary |
|---|---|
| pack-priv Instant endTime | |
| endTimeNanos | back to summary |
|---|---|
| pack-priv long endTimeNanos | |
| path | back to summary |
|---|---|
| pack-priv final Path path | |
| referenceCount | back to summary |
|---|---|
| pack-priv int referenceCount | |
| repository | back to summary |
|---|---|
| pack-priv final DiskRepository repository | |
| size | back to summary |
|---|---|
| pack-priv long size | |
| startTimeNanos | back to summary |
|---|---|
| pack-priv final long startTimeNanos | |
| DiskChunk | back to summary |
|---|---|
| pack-priv DiskChunk(DiskRepository repository, Path path, long startNanos) | |
| acquire | back to summary |
|---|---|
| public void acquire() | |
| destroy | back to summary |
|---|---|
| private void destroy() | |
| isDead | back to summary |
|---|---|
| public boolean isDead() | |
| path | back to summary |
|---|---|
| public Path path() | |
| release | back to summary |
|---|---|
| public void release() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final DiskRepository. | |
| public static final DiskRepository. | |
| public static final DiskRepository. | |
| public static final DiskRepository. | |
| public static final DiskRepository. | |
| public static final DiskRepository. | |
| public static final DiskRepository. | |
| public static final DiskRepository. | |
| public static final DiskRepository. | |
| public static final DiskRepository. | |
| public static final DiskRepository. | |
| public static final DiskRepository. | |
| public static final DiskRepository. | |
| public static final DiskRepository. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public DiskRepository. | |
| public static DiskRepository. | |
| public static DiskRepository. |
| CHECKPOINT_EVENT_DELTA | back to summary |
|---|---|
| public static final DiskRepository. | |
| CHECKPOINT_EVENT_DURATION | back to summary |
|---|---|
| public static final DiskRepository. | |
| CHECKPOINT_EVENT_FLUSH_TYPE | back to summary |
|---|---|
| public static final DiskRepository. | |
| CHECKPOINT_EVENT_HEADER_BYTE_ARRAY_CONTENT | back to summary |
|---|---|
| public static final DiskRepository. | |
| CHECKPOINT_EVENT_HEADER_BYTE_ARRAY_LENGTH | back to summary |
|---|---|
| public static final DiskRepository. | |
| CHECKPOINT_EVENT_HEADER_ITEM_COUNT | back to summary |
|---|---|
| public static final DiskRepository. | |
| CHECKPOINT_EVENT_HEADER_KEY | back to summary |
|---|---|
| public static final DiskRepository. | |
| CHECKPOINT_EVENT_HEADER_TYPE | back to summary |
|---|---|
| public static final DiskRepository. | |
| CHECKPOINT_EVENT_POOL_COUNT | back to summary |
|---|---|
| public static final DiskRepository. | |
| CHECKPOINT_EVENT_TIMESTAMP | back to summary |
|---|---|
| public static final DiskRepository. | |
| EVENT_PAYLOAD | back to summary |
|---|---|
| public static final DiskRepository. | |
| EVENT_SIZE | back to summary |
|---|---|
| public static final DiskRepository. | |
| EVENT_TYPE | back to summary |
|---|---|
| public static final DiskRepository. | |
| HEADER | back to summary |
|---|---|
| public static final DiskRepository. | |
| State | back to summary |
|---|---|
| private State() | |
| next | back to summary |
|---|---|
| public DiskRepository. | |
| valueOf | back to summary |
|---|---|
| public static DiskRepository. | |
| values | back to summary |
|---|---|
| public static DiskRepository. | |