Package org.apache.pulsar.common.util
Common utils.
-
Interface Summary Interface Description BCLoader This interface declares a Bouncy Castle provider Loader.Hash This interface declares a hash function.RateLimitFunction Function use when rate limiter renew permit. -
Class Summary Class Description ClassLoaderUtils Helper methods wrt Classloading.CmdGenerateDocs Codec CompletableFutureCancellationHandler Implements cancellation and timeout support for CompletableFutures.DateFormatter Date-time String formatter utility class.DefaultSslContextBuilder FieldParser Generic value converter.FileModifiedTimeUpdater Class working with file's modified time.FutureUtil This class is aimed at simplifying work withCompletableFuture.FutureUtil.Sequencer<T> KeyManagerProxy This class wrapsX509ExtendedKeyManagerand gives opportunity to refresh key-manager with refreshed certs without changingSslContext.KeyStoreHolder Holder for the secure key store.LazyLoadableValue<T> Used to lazy load a value, only calculate it when used.Murmur3_32Hash Implementation of the MurmurHash3 non-cryptographic hash function.NamespaceBundleStatsComparator NettyClientSslContextRefresher SSL context builder for Netty Client side.NettyServerSslContextBuilder SSL context builder for Netty Server side.NumberFormat Custom number formatter forio.netty.buffer.ByteBuf.ObjectMapperFactory RateLimiter A Rate Limiter that distributes permits at a configurable rate.RateLimiter.RateLimiterBuilder Reflections Utils related to reflections.RelativeTimeUtil Parser for relative time.Runnables SafeCollectionUtils Safe collection utils.SecurityUtility Helper class for the security domain.SimpleTextOutputStream Format strings and numbers into a ByteBuf without any memory allocation.SslContextAutoRefreshBuilder<T> Auto refresher and builder of SSLContext.ThreadDumpUtil Adapted from Hadoop TimedOutTestsListener.TrustManagerProxy This class wrapsX509ExtendedTrustManagerand gives opportunity to refresh Trust-manager with refreshed certs without changingSslContext. -
Exception Summary Exception Description RestException Exception used to provide better error messages to clients of the REST API.