|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use JournalBuilder | |
|---|---|
| journal.io.api | |
| Uses of JournalBuilder in journal.io.api |
|---|
| Methods in journal.io.api that return JournalBuilder | |
|---|---|
static JournalBuilder |
JournalBuilder.of(File directory)
|
JournalBuilder |
JournalBuilder.setArchived(File to)
Set the directory used to archive cleaned up log files, also enabling archiving. |
JournalBuilder |
JournalBuilder.setChecksum(Boolean checksum)
Set true to enable records checksum, false otherwise. |
JournalBuilder |
JournalBuilder.setDisposeInterval(Long disposeInterval)
Set the milliseconds interval for resources disposal: i.e., un-accessed files will be closed. |
JournalBuilder |
JournalBuilder.setDisposer(ScheduledExecutorService disposer)
Set the ScheduledExecutorService to use for internal resources disposing. |
JournalBuilder |
JournalBuilder.setFilePrefix(String filePrefix)
Set the prefix for log files. |
JournalBuilder |
JournalBuilder.setFileSuffix(String fileSuffix)
Set the suffix for log files. |
JournalBuilder |
JournalBuilder.setMaxFileLength(Integer maxFileLength)
Set the max length of each log file. |
JournalBuilder |
JournalBuilder.setMaxWriteBatchSize(Integer maxWriteBatchSize)
Set the max size in bytes of the write batch: must always be equal or less than the max file length. |
JournalBuilder |
JournalBuilder.setPhysicalSync(Boolean physicalSync)
Set true if every disk write must be followed by a physical disk sync, synchronizing file descriptor properties and flushing hardware buffers, false otherwise. |
JournalBuilder |
JournalBuilder.setRecoveryErrorHandler(RecoveryErrorHandler recoveryErrorHandler)
Set the RecoveryErrorHandler to invoke in case of checksum errors. |
JournalBuilder |
JournalBuilder.setReplicationTarget(ReplicationTarget replicationTarget)
Set the ReplicationTarget to replicate batch writes to. |
JournalBuilder |
JournalBuilder.setWriter(Executor writer)
Set the Executor to use for writing new record entries. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||