| 接口 | 说明 |
|---|---|
| AtomicUtils |
Utilities related to atomic operations.
|
| CodeInjectionForTesting.Code |
Code to be injected.
|
| CollectionUtils | |
| ExitUtils |
Facilitates hooking process termination for tests and debugging.
|
| FileUtils | |
| IOUtils |
IO related utility methods.
|
| JavaUtils |
General Java utility methods.
|
| LogUtils |
Logging (as in log4j) related utility methods.
|
| NetUtils | |
| Preconditions | |
| ProtoUtils | |
| ReflectionUtils |
Reflection related utility methods.
|
| SlidingWindow |
A single-client-to-multiple-server sliding window.
|
| SlidingWindow.ClientSideRequest<REPLY> | |
| SlidingWindow.Request<REPLY> | |
| SlidingWindow.ServerSideRequest<REPLY> | |
| UncheckedAutoCloseable |
The same as
AutoCloseable
except that the close method does not throw Exception. |
| 类 | 说明 |
|---|---|
| AtomicFileOutputStream |
A
FilterOutputStream that writes to a file atomically. |
| AutoCloseableLock |
Wrap a lock with the
AutoCloseable interface
so that the AutoCloseableLock.close() method will unlock the lock. |
| AutoCloseableReadWriteLock | |
| CodeInjectionForTesting |
Inject code for testing.
|
| Daemon | |
| DataBlockingQueue<E> |
A queue for data elements
such that the queue imposes limits on both number of elements and the data size in bytes.
|
| DataQueue<E> |
A queue for data elements
such that the queue imposes limits on both number of elements and the data size in bytes.
|
| ExitUtils.States | |
| JmxRegister |
For registering JMX beans.
|
| JvmPauseMonitor | |
| LifeCycle |
The life cycle of a machine.
|
| LifeCycle.States | |
| LongMinMax |
Min and max values in long.
|
| MD5FileUtil | |
| MemoizedSupplier<T> |
A memoized supplier is a
Supplier
which gets a value by invoking its initializer once
and then keeps returning the same value as its supplied results. |
| NetUtils.StaticResolution | |
| OpenCloseState |
The state of objects that can be unopened, opened, closed or exception.
|
| PeerProxyMap<PROXY extends Closeable> |
A map from peer id to peer and its proxy.
|
| PlatformUtils |
Platform and architecture related utility methods.
|
| PureJavaCrc32C |
A pure-java implementation of the CRC32 checksum that uses
the CRC32-C polynomial, the same polynomial used by iSCSI
and implemented on many Intel chipsets supporting SSE4.2.
|
| ReflectionUtils.Classes | |
| ReflectionUtils.Constructors | |
| ResourceSemaphore |
A
Semaphore with a limit for a resource. |
| ResourceSemaphore.Group | |
| SizeInBytes |
Size which may be constructed with a
TraditionalBinaryPrefix. |
| SlidingWindow.Client<REQUEST extends SlidingWindow.ClientSideRequest<REPLY>,REPLY> |
Client side sliding window.
|
| SlidingWindow.RequestMap<REQUEST extends SlidingWindow.Request<REPLY>,REPLY> |
A seqNum-to-request map, sorted by seqNum.
|
| SlidingWindow.Server<REQUEST extends SlidingWindow.ServerSideRequest<REPLY>,REPLY> |
Server side sliding window.
|
| StringUtils | |
| TaskQueue |
A queue with execution order guarantee such that
each task is submitted for execution only if it becomes the head of the queue.
|
| TimeDuration |
Time duration is represented by a long together with a
TimeUnit. |
| TimeoutScheduler | |
| Timestamp |
Use
System.nanoTime() as timestamps. |
| 枚举 | 说明 |
|---|---|
| LifeCycle.State |
The states in the life cycle.
|
| PlatformUtils.OSType | |
| ResourceSemaphore.ResourceAcquireStatus |
Track a group of resources with a list of
ResourceSemaphores. |
| TimeDuration.Abbreviation |
Abbreviations of
TimeUnit. |
| TraditionalBinaryPrefix |
The traditional binary prefixes, kilo, mega, ..., exa,
which can be represented by a 64-bit integer.
|
| 异常错误 | 说明 |
|---|---|
| ExitUtils.ExitException |
Copyright © 2017–2021 The Apache Software Foundation. All rights reserved.