| 接口 | 说明 |
|---|---|
| AdaptiveBufAllocator.Handle | |
| BytesUtil.ByteArrayComparator | |
| Copiable<T> |
Copiable mark interface.
|
| Describer |
Components that implement this interface need to be able to describe
their own state and output state information via the
describe method. |
| Describer.Printer | |
| JRaftSignalHandler | |
| LogExceptionHandler.OnEventException<T> | |
| Recyclable | |
| Recyclers.Handle | |
| ThreadId.OnError |
| 类 | 说明 |
|---|---|
| AdaptiveBufAllocator |
The code comes from https://github.com/netty/netty/blob/4.1/transport/src/main/java/io/netty/channel/AdaptiveRecvByteBufAllocator.java
|
| ArrayDeque<E> |
Extend array list to add peek/poll first/last element.
|
| AsciiStringUtil | |
| Bits |
Bits util.
|
| ByteBufferCollector |
A byte buffer collector that will expand automatically.
|
| Bytes |
Utility class that handles immutable byte arrays.
|
| BytesUtil | |
| CountDownEvent |
CountDown event.
|
| CRC64 |
CRC64
|
| CrcUtil |
CRC utilities to compute CRC64 checksum.
|
| DebugStatistics | |
| Describer.DefaultPrinter | |
| DisruptorBuilder<T> |
A builder to build a disruptor instance.
|
| DisruptorMetricSet |
Disruptor metric set including buffer-size, remaining-capacity etc.
|
| Endpoint |
A IP address with port.
|
| ExecutorServiceHelper | |
| FileOutputSignalHandler | |
| Ints |
Static utility methods pertaining to
int primitives. |
| JRaftServiceLoader<S> |
A simple service-provider loading facility (SPI).
|
| LogExceptionHandler<T> |
Disruptor exception handler.
|
| LogScheduledThreadPoolExecutor |
A
ThreadPoolExecutor that can additionally
schedule commands to run after a given delay with a logger witch can print
error message for failed execution. |
| LogThreadPoolExecutor |
A
ExecutorService that witch can print
error message for failed execution. |
| MetricReporter |
A reporter which outputs measurements to a
PrintStream, like System.out. |
| MetricReporter.Builder |
A builder for
MetricReporter instances. |
| MetricScheduledThreadPoolExecutor |
A
ThreadPoolExecutor that can additionally
schedule commands to run after a given delay with a timer metric
which aggregates timing durations and provides duration statistics. |
| MetricThreadPoolExecutor |
A
ExecutorService that with a timer metric
which aggregates timing durations and provides duration statistics. |
| Mpsc | |
| NamedThreadFactory |
Named thread factory with prefix.
|
| NonReentrantLock |
Non reentrant lock, copied from netty project.
|
| Platform | |
| RecyclableByteBufferList |
A simple
ByteBuffer list which is recyclable. |
| Recyclers<T> |
Light-weight object pool based on a thread-local stack.
|
| RecycleUtil |
Recycle tool for
Recyclable. |
| RepeatedTimer |
Repeatable timer based on java.util.Timer.
|
| Requires |
Simple static methods to be called at the start of your own methods to verify
correct arguments and state.
|
| RpcFactoryHelper | |
| SegmentList<T> |
A list implementation based on segments.
|
| SignalHelper | |
| StorageOptionsFactory | |
| SystemPropertyUtil |
A collection of utility methods to retrieve and
parse the values of the Java system properties.
|
| ThreadHelper | |
| ThreadHelper.Spinner | |
| ThreadId |
Replicator id with lock.
|
| ThreadPoolMetricRegistry | |
| ThreadPoolMetricSet |
Thread pool metric set including pool-size, queued, active, completed etc.
|
| ThreadPoolUtil | |
| ThreadPoolUtil.PoolBuilder | |
| ThreadPoolUtil.ScheduledPoolBuilder | |
| Utils |
Helper methods for jraft.
|
| 枚举 | 说明 |
|---|---|
| DirectExecutor |
An executor that direct run command.
|
| 注释类型 | 说明 |
|---|---|
| OnlyForTest |
The type/method/field etc. to which this annotation is applied is only for unit test.
|
| SPI |
Copyright © 2021. All rights reserved.