程序包 org.apache.pulsar.common.util
Common utils.
-
接口概要 接口 说明 BCLoader This interface declares a Bouncy Castle provider Loader.Hash This interface declares a hash function.RateLimitFunction Function use when rate limiter renew permit. -
类概要 类 说明 ClassLoaderUtils Helper methods wrt Classloading.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
.KeyManagerProxy This class wrapsX509ExtendedKeyManager
and gives opportunity to refresh key-manager with refreshed certs without changingSslContext
.KeyStoreHolder Holder for the secure key store.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.TrustManagerProxy This class wrapsX509ExtendedTrustManager
and gives opportunity to refresh Trust-manager with refreshed certs without changingSslContext
. -
异常错误概要 异常错误 说明 RestException Exception used to provide better error messages to clients of the REST API.