Factory
@SerialName(value = "!Local")
@Serializable
Used to set configuration options for a local directory based XTDB Log.
Example usage, as part of a node config:
Xtdb.openNode {
log = localLog(Path("test-path")) {
instantSource = InstantSource.system()
bufferSize = 4096
pollSleepDuration = Duration.ofMillis(100)
}
...
}Content copied to clipboard
Constructors
Link copied to clipboard
constructor(path: Path, instantSource: InstantSource = InstantSource.system(), epoch: Int = 0, useInstantSourceForNonTx: Boolean = false, coroutineContext: CoroutineContext = Dispatchers.IO)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun openReadOnlyReplicaLog(remotes: Map<RemoteAlias, Remote>): ReadOnlyLocalLog<ReplicaMessage>
Link copied to clipboard
open override fun openReadOnlySourceLog(remotes: Map<RemoteAlias, Remote>): ReadOnlyLocalLog<SourceMessage>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard