Package org.apache.pulsar.common.util
package org.apache.pulsar.common.util
Common utils.
-
ClassDescriptionThis interface declares a Bouncy Castle provider Loader.Helper methods wrt Classloading.Implements cancellation and timeout support for CompletableFutures.Date-time String formatter utility class.Util class to place some special handling of exceptions.Generic value converter.Class working with file's modified time.This class is aimed at simplifying work with
CompletableFuture
.This a builder like class for providing a fluent API for graceful shutdown Executors are added with theGracefulExecutorServicesShutdown.shutdown(ExecutorService...)
method.This interface declares a hash function.This class wrapsX509ExtendedKeyManager
and gives opportunity to refresh key-manager with refreshed certs without changingSslContext
.Holder for the secure key store.Implementation of the MurmurHash3 non-cryptographic hash function.SSL context builder for Netty Client side.SSL context builder for Netty Server side.Custom number formatter forio.netty.buffer.ByteBuf
.A Rate Limiter that distributes permits at a configurable rate.Function use when rate limiter renew permit.Utils related to reflections.Parser for relative time.Exception used to provide better error messages to clients of the REST API.Safe collection utils.Helper class for the security domain.Format strings and numbers into a ByteBuf without any memory allocation.Auto refresher and builder of SSLContext.Deduplicates String instances by interning them using Guava's Interner which is more efficient than String.intern().Adapted from Hadoop TimedOutTestsListener.This class wrapsX509ExtendedTrustManager
and gives opportunity to refresh Trust-manager with refreshed certs without changingSslContext
.Static convenience URI checker.