Package | Description |
---|---|
org.apache.bookkeeper.conf |
Modifier and Type | Method and Description |
---|---|
ServerConfiguration |
ServerConfiguration.setAllowLoopback(boolean allow)
Configure the bookie to allow loopback interfaces to be used
as the primary bookie interface.
|
ServerConfiguration |
ServerConfiguration.setAutoRecoveryDaemonEnabled(boolean enabled)
Sets that whether the auto-recovery service can start along with Bookie
server itself or not
|
ServerConfiguration |
ServerConfiguration.setBookiePort(int port)
Set new bookie port that bookie server listen on
|
ServerConfiguration |
ServerConfiguration.setCompactionMaxOutstandingRequests(int maxOutstandingRequests)
Set the maximum number of entries which can be compacted without flushing.
|
ServerConfiguration |
ServerConfiguration.setCompactionRate(int rate)
Set the rate of compaction adds.
|
ServerConfiguration |
ServerConfiguration.setDiskCheckInterval(int interval)
Set the disk checker interval to monitor ledger disk space
|
ServerConfiguration |
ServerConfiguration.setDiskUsageThreshold(float threshold)
Set the Disk free space threshold as a fraction of the total
after which disk will be considered as full during disk check.
|
ServerConfiguration |
ServerConfiguration.setEntryLogSizeLimit(long logSizeLimit)
Set entry logger size limitation
|
ServerConfiguration |
ServerConfiguration.setFlushInterval(int flushInterval)
Set flush interval
|
ServerConfiguration |
ServerConfiguration.setGcWaitTime(long gcWaitTime)
Set garbage collection wait time
|
ServerConfiguration |
ServerConfiguration.setJournalDirName(String journalDir)
Set dir name to store journal files
|
ServerConfiguration |
ServerConfiguration.setLedgerDirNames(String[] ledgerDirs)
Set dir names to store ledger data
|
ServerConfiguration |
ServerConfiguration.setListeningInterface(String iface)
Set the network interface that the bookie should listen on.
|
ServerConfiguration |
ServerConfiguration.setMajorCompactionInterval(long interval)
Set interval to run major compaction.
|
ServerConfiguration |
ServerConfiguration.setMajorCompactionThreshold(double threshold)
Set threshold of major compaction.
|
ServerConfiguration |
ServerConfiguration.setMaxBackupJournals(int maxBackupJournals)
Set max number of older journal files to kept
|
ServerConfiguration |
ServerConfiguration.setMaxJournalSize(long maxJournalSize)
Set new max journal file size
|
ServerConfiguration |
ServerConfiguration.setMinorCompactionInterval(long interval)
Set interval to run minor compaction
|
ServerConfiguration |
ServerConfiguration.setMinorCompactionThreshold(double threshold)
Set threshold of minor compaction
|
ServerConfiguration |
ServerConfiguration.setOpenFileLimit(int fileLimit)
Set limitation of number of open files.
|
ServerConfiguration |
ServerConfiguration.setPageLimit(int pageLimit)
Set limitation number of index pages in ledger cache.
|
ServerConfiguration |
ServerConfiguration.setPageSize(int pageSize)
Set page size
|
ServerConfiguration |
ServerConfiguration.setReadOnlyModeEnabled(boolean enabled)
Set whether the bookie is able to go into read-only mode.
|
ServerConfiguration |
ServerConfiguration.setServerTcpNoDelay(boolean noDelay)
Set socket nodelay setting
|
ServerConfiguration |
ServerConfiguration.setStatisticsEnabled(boolean enabled)
Turn on/off statistics
|
ServerConfiguration |
ServerConfiguration.setZkServers(String zkServers)
Set zookeeper servers to connect
|
ServerConfiguration |
ServerConfiguration.setZkTimeout(int zkTimeout)
Set zookeeper timeout
|
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.