Index
All Classes and Interfaces|All Packages
A
- append(LogStreamId, List, AppendOptions) - Method in class org.j7m.middleware.durablelog.FileDurableLog
B
- build() - Method in class org.j7m.middleware.durablelog.DurableLogBuilder
-
Opens the configured directory and recovers its durable state before returning ownership.
C
- clock() - Method in record class org.j7m.middleware.durablelog.DurableLogConfig
-
Returns the value of the
clockrecord component. - clock(Clock) - Method in class org.j7m.middleware.durablelog.DurableLogBuilder
-
Supplies the timestamp source borrowed by the opened log.
- close() - Method in class org.j7m.middleware.durablelog.FileDurableLog
- config() - Method in class org.j7m.middleware.durablelog.FileDurableLog
-
Returns config for tests and diagnostics.
- corruptByte(Path, long) - Method in class org.j7m.middleware.durablelog.internal.DurableLogDiagnosticHarness
-
Flips one byte in the active segment payload or header area.
- createSnapshot(LogStreamId, SnapshotOptions) - Method in class org.j7m.middleware.durablelog.FileDurableLog
D
- defaults(Path) - Static method in record class org.j7m.middleware.durablelog.DurableLogConfig
-
Creates default configuration for a directory.
- directory() - Method in record class org.j7m.middleware.durablelog.DurableLogConfig
-
Returns the value of the
directoryrecord component. - directory(Path) - Method in class org.j7m.middleware.durablelog.DurableLogBuilder
-
Selects the storage directory opened and recovered by
DurableLogBuilder.build(). - DurableLogBuilder - Class in org.j7m.middleware.durablelog
-
Builder for
FileDurableLog. - DurableLogBuilder() - Constructor for class org.j7m.middleware.durablelog.DurableLogBuilder
-
Creates a builder with default settings.
- DurableLogConfig - Record Class in org.j7m.middleware.durablelog
-
Immutable file durable-log configuration.
- DurableLogConfig(Path, long, long, int, int, FsyncPolicy, GroupCommitPolicy, LogIntegrityPolicy, RetentionPolicy, Clock) - Constructor for record class org.j7m.middleware.durablelog.DurableLogConfig
-
Creates validated configuration.
- DurableLogDiagnosticHarness - Class in org.j7m.middleware.durablelog.internal
-
Internal deterministic crash and corruption diagnostic harness.
- DurableLogDiagnosticHarness() - Constructor for class org.j7m.middleware.durablelog.internal.DurableLogDiagnosticHarness
-
Creates a diagnostic harness.
- DurableLogFactory - Class in org.j7m.middleware.durablelog
-
Factory for file durable logs.
- DurableLogHealth - Class in org.j7m.middleware.durablelog
-
Durable-log health classifier.
- DurableLogHealth() - Constructor for class org.j7m.middleware.durablelog.DurableLogHealth
-
Creates a health classifier.
E
- equals(Object) - Method in record class org.j7m.middleware.durablelog.DurableLogConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.j7m.middleware.durablelog.LogCompactionMetadata
-
Indicates whether some other object is "equal to" this one.
F
- FileDurableLog - Class in org.j7m.middleware.durablelog
-
File-backed append-only durable log.
- FileDurableLog(DurableLogConfig) - Constructor for class org.j7m.middleware.durablelog.FileDurableLog
-
Creates a log using validated configuration.
- findLatestOffsetByMetadata(LogStreamId, String, String, int) - Method in class org.j7m.middleware.durablelog.FileDurableLog
-
Finds the latest record offset in a stream whose header metadata contains the supplied key and value while examining at most a bounded number of records.
- fsyncPolicy() - Method in record class org.j7m.middleware.durablelog.DurableLogConfig
-
Returns the value of the
fsyncPolicyrecord component. - fsyncPolicy(FsyncPolicy) - Method in class org.j7m.middleware.durablelog.DurableLogBuilder
-
Selects when accepted writes are synchronized to storage.
G
- groupCommitPolicy() - Method in record class org.j7m.middleware.durablelog.DurableLogConfig
-
Returns the value of the
groupCommitPolicyrecord component. - groupCommitPolicy(GroupCommitPolicy) - Method in class org.j7m.middleware.durablelog.DurableLogBuilder
-
Configures finite batching for group synchronization.
H
- hashCode() - Method in record class org.j7m.middleware.durablelog.DurableLogConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.j7m.middleware.durablelog.LogCompactionMetadata
-
Returns a hash code value for this object.
- healthy(LogStatus) - Method in class org.j7m.middleware.durablelog.DurableLogHealth
-
Returns whether status is healthy.
I
- integrityPolicy() - Method in record class org.j7m.middleware.durablelog.DurableLogConfig
-
Returns the value of the
integrityPolicyrecord component. - integrityPolicy(LogIntegrityPolicy) - Method in class org.j7m.middleware.durablelog.DurableLogBuilder
-
Selects frame-integrity verification for the opened log.
L
- lastSegment(Path) - Method in class org.j7m.middleware.durablelog.internal.DurableLogDiagnosticHarness
-
Returns latest segment path.
- LogCompactionMetadata - Record Class in org.j7m.middleware.durablelog
-
Retention and compaction protection metadata.
- LogCompactionMetadata(Map) - Constructor for record class org.j7m.middleware.durablelog.LogCompactionMetadata
-
Creates metadata.
M
- maxOpenCursors() - Method in record class org.j7m.middleware.durablelog.DurableLogConfig
-
Returns the value of the
maxOpenCursorsrecord component. - maxOpenCursors(int) - Method in class org.j7m.middleware.durablelog.DurableLogBuilder
-
Sets the maximum simultaneously open read cursors; the default is 128.
- maxPayloadBytes() - Method in record class org.j7m.middleware.durablelog.DurableLogConfig
-
Returns the value of the
maxPayloadBytesrecord component. - maxPayloadBytes(long) - Method in class org.j7m.middleware.durablelog.DurableLogBuilder
-
Sets the per-record payload limit in bytes; the default is 1 MiB.
- maxRecordsPerAppend() - Method in record class org.j7m.middleware.durablelog.DurableLogConfig
-
Returns the value of the
maxRecordsPerAppendrecord component. - maxRecordsPerAppend(int) - Method in class org.j7m.middleware.durablelog.DurableLogBuilder
-
Sets the maximum number of records accepted by one append; the default is 1024.
- maxSegmentBytes() - Method in record class org.j7m.middleware.durablelog.DurableLogConfig
-
Returns the value of the
maxSegmentBytesrecord component. - maxSegmentBytes(long) - Method in class org.j7m.middleware.durablelog.DurableLogBuilder
-
Sets the segment rotation threshold in bytes; the default is 16 MiB.
O
- open(Path) - Static method in class org.j7m.middleware.durablelog.DurableLogFactory
-
Opens a durable log in a directory with default settings.
- openCursor(LogStreamId, LogOffset, CursorOptions) - Method in class org.j7m.middleware.durablelog.FileDurableLog
- org.j7m.durablelog - module org.j7m.durablelog
-
J7M native file-backed durable log.
- org.j7m.middleware.durablelog - package org.j7m.middleware.durablelog
- org.j7m.middleware.durablelog.internal - package org.j7m.middleware.durablelog.internal
P
- protectedOffsets() - Method in record class org.j7m.middleware.durablelog.LogCompactionMetadata
-
Returns the value of the
protectedOffsetsrecord component.
R
- recover(RecoveryOptions) - Method in class org.j7m.middleware.durablelog.FileDurableLog
- recoveryOptions(RecoveryOptions) - Method in class org.j7m.middleware.durablelog.DurableLogBuilder
-
Sets recovery options used during
DurableLogBuilder.build(). - retentionPolicy() - Method in record class org.j7m.middleware.durablelog.DurableLogConfig
-
Returns the value of the
retentionPolicyrecord component. - retentionPolicy(RetentionPolicy) - Method in class org.j7m.middleware.durablelog.DurableLogBuilder
-
Selects segment retention for the opened log.
S
- status() - Method in class org.j7m.middleware.durablelog.FileDurableLog
T
- toString() - Method in record class org.j7m.middleware.durablelog.DurableLogConfig
-
Returns a string representation of this record class.
- toString() - Method in record class org.j7m.middleware.durablelog.LogCompactionMetadata
-
Returns a string representation of this record class.
- truncateTail(Path, int) - Method in class org.j7m.middleware.durablelog.internal.DurableLogDiagnosticHarness
-
Truncates bytes from the active segment tail.
- truncateTailRecovery() - Method in class org.j7m.middleware.durablelog.DurableLogBuilder
-
Selects explicit crash-tail truncation recovery for
DurableLogBuilder.build().
All Classes and Interfaces|All Packages