Package org.apache.bookkeeper.util
Bookkeeper utilities.
-
Interface Summary Interface Description ByteBufVisitor.ByteBufVisitorCallback<T> The callback interface for visiting buffers.SubTreeCache.TreeProvider A tree provider.Tool A tool interface that supports handling of generic command-line options. -
Class Summary Class Description AvailabilityOfEntriesOfLedger Ordered collection of SequenceGroups will represent entries of the ledger residing in a bookie.BookKeeperConstants This class contains constants used in BookKeeper.ByteBufList ByteBufList is a holder of a sequence ofByteBuf
objects.ByteBufList.Encoder ByteBufList
encoder.ByteBufVisitor This class visits the possible wrapped child buffers of a NettyByteBuf
for a given offset and length.ByteBufVisitor.GetBytesCallbackByteBuf<T> A ByteBuf implementation that can be used as the destination buffer for aByteBuf.getBytes(int, ByteBuf)
for visiting the wrapped child buffers.CertUtils Certificate parsing utilities.DiskChecker Class that provides utility functions for checking disk problems.EntryFormatter Formatter to format an entry.EventLoopUtil Utility class to initialize Netty event loops.HardLink Class for creating hardlinks.HardLink.HardLinkCGUnix Implementation of HardLinkCommandGetter class for Unix.HardLink.HardLinkCGWin Implementation of HardLinkCommandGetter class for Windows.HardLink.LinkStats HardLink statistics counters and methods.HexDumpEntryFormatter A hex dump entry formatter.IOUtils An utility class for I/O related functionality.IteratorUtility Utility class to merge iterators.LedgerDirUtil LedgerIdFormatter Formatter to format a ledgerId.LedgerIdFormatter.HexLedgerIdFormatter hex ledgerId formatter.LedgerIdFormatter.LongLedgerIdFormatter long ledgerId formatter.LedgerIdFormatter.UUIDLedgerIdFormatter uuid ledgerId formatter.LocalBookKeeper Local Bookkeeper.NettyChannelUtil Contains utility methods for working with Netty Channels.OrderedGenericCallback<T> Generic callback implementation which will run the callback in the thread which matches the ordering key.PageCacheUtil Native I/O operations.PortManager Port manager provides free ports to allows multiple instances of the bookkeeper tests to run at once.SafeRunnable A SafeRunnable implementation.Shell A base class for running a Unix command.Shell.ShellCommandExecutor A simple shell command executor.SnapshotMap<K,V> A snapshotable map.StringEntryFormatter A String-based entry formatter.StringUtils Provided utilities for parsing network addresses, ledger-id from node paths etc.SubTreeCache Caching layer for traversing and monitoring changes on a znode subtree.ZeroBuffer Zero buffer utility.ZkUtils Provided utilities for zookeeper access, etc. -
Enum Summary Enum Description HardLink.OSType OS Types. -
Exception Summary Exception Description DiskChecker.DiskErrorException A disk error exception.DiskChecker.DiskException A general marker for disk-related exceptions.DiskChecker.DiskOutOfSpaceException An out-of-space disk exception.DiskChecker.DiskWarnThresholdException A disk warn threshold exception.Shell.ExitCodeException This is an IOException with exit code added.