跳过导航链接
A B C D E F G H I J L M N O P Q R S T U V W Z 

A

abort() - 类 中的方法org.apache.ratis.util.AtomicFileOutputStream
Close the atomic file, but do not "commit" the temporary file on top of the destination.
accept(LEFT, RIGHT) - 接口 中的方法org.apache.ratis.util.function.CheckedBiConsumer
The same as BiConsumer.accept(Object, Object) except that this method is declared with a throws-clause.
accept(INPUT) - 接口 中的方法org.apache.ratis.util.function.CheckedConsumer
The same as Consumer.accept(Object) except that this method is declared with a throws-clause.
accept(T, U, V) - 接口 中的方法org.apache.ratis.util.function.TriConsumer
The same as BiConsumer.accept(Object, Object)} except that this method is declared with three parameters.
accumulate(long) - 类 中的方法org.apache.ratis.util.LongMinMax
Update min and max with the given number.
acquire(Lock) - 类 中的静态方法org.apache.ratis.util.AutoCloseableLock
Acquire the given lock and then wrap it with AutoCloseableLock so that the given lock can be released by calling AutoCloseableLock.close(), or by using a try-with-resources statement as shown below.
acquire(Lock, Runnable) - 类 中的静态方法org.apache.ratis.util.AutoCloseableLock
 
acquire(int...) - 类 中的方法org.apache.ratis.util.ResourceSemaphore.Group
 
Add(RaftGroup) - 类 的构造器org.apache.ratis.protocol.GroupManagementRequest.Add
 
add(TimeDuration) - 类 中的方法org.apache.ratis.util.TimeDuration
 
add(long, TimeUnit) - 类 中的方法org.apache.ratis.util.TimeDuration
 
addCommitInfos(Collection<RaftProtos.CommitInfoProto>, Consumer<RaftProtos.CommitInfoProto>) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
addDefaultResource(String) - 类 中的静态方法org.apache.ratis.conf.RaftProperties
Add a default resource.
addRaftPeers(Collection<RaftPeer>) - 接口 中的方法org.apache.ratis.protocol.RaftPeer.Add
Add the given peers.
addRaftPeers(RaftPeer...) - 接口 中的方法org.apache.ratis.protocol.RaftPeer.Add
Add the given peers.
addRaftPeers(Collection<RaftPeer>) - 类 中的方法org.apache.ratis.util.PeerProxyMap
 
addResource(String) - 类 中的方法org.apache.ratis.conf.RaftProperties
Add a configuration resource.
addResource(URL) - 类 中的方法org.apache.ratis.conf.RaftProperties
 
addResource(InputStream) - 类 中的方法org.apache.ratis.conf.RaftProperties
Add a configuration resource.
addResource(InputStream, String) - 类 中的方法org.apache.ratis.conf.RaftProperties
Add a configuration resource.
addResource(RaftProperties) - 类 中的方法org.apache.ratis.conf.RaftProperties
Add a configuration resource.
address2String(InetSocketAddress) - 接口 中的静态方法org.apache.ratis.util.NetUtils
 
addSuccessor(RaftPeerId, RaftPeerId) - 类 中的方法org.apache.ratis.protocol.RoutingTable.Builder
 
addSuccessors(RaftPeerId, Collection<RaftPeerId>) - 类 中的方法org.apache.ratis.protocol.RoutingTable.Builder
 
addSuccessors(RaftPeerId, RaftPeerId...) - 类 中的方法org.apache.ratis.protocol.RoutingTable.Builder
 
addTime(TimeDuration) - 类 中的方法org.apache.ratis.util.Timestamp
 
addTimeMs(long) - 类 中的方法org.apache.ratis.util.Timestamp
 
AdminAsynchronousProtocol - org.apache.ratis.protocol中的接口
Asynchronous version of AdminProtocol.
AdminProtocol - org.apache.ratis.protocol中的接口
For server administration.
allOf(Collection<CompletableFuture<T>>) - 接口 中的静态方法org.apache.ratis.util.JavaUtils
 
AlreadyClosedException - org.apache.ratis.protocol.exceptions中的异常错误
The corresponding object is already closed.
AlreadyClosedException(String) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.AlreadyClosedException
 
AlreadyClosedException(String, Throwable) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.AlreadyClosedException
 
AlreadyExistsException - org.apache.ratis.protocol.exceptions中的异常错误
Signals that an attempt to create a file at a given pathname has failed because another file already existed at that path.
AlreadyExistsException(String) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.AlreadyExistsException
 
AlreadyExistsException(Throwable) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.AlreadyExistsException
 
append(StringBuilder, Field) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
apply(LEFT, RIGHT) - 接口 中的方法org.apache.ratis.util.function.CheckedBiFunction
The same as BiFunction.apply(Object, Object) except that this method is declared with a throws-clause.
apply(INPUT) - 接口 中的方法org.apache.ratis.util.function.CheckedFunction
The same as Function.apply(Object) except that this method is declared with a throws-clause.
apply(INPUT, TimeDuration) - 接口 中的方法org.apache.ratis.util.function.CheckedFunctionWithTimeout
The same as CheckedFunction.apply(Object) except that this method has a timeout parameter and throws TimeoutException.
apply(LongUnaryOperator) - 类 中的方法org.apache.ratis.util.TimeDuration
Apply the given operator to the duration value of this object.
apply(CheckedBiFunction<Long, TimeUnit, OUTPUT, THROWABLE>) - 类 中的方法org.apache.ratis.util.TimeDuration
Apply the given function to the (duration, unit) of this object.
as(Iterable<INPUT>, Function<INPUT, OUTPUT>) - 接口 中的静态方法org.apache.ratis.util.CollectionUtils
 
as(INPUT[], Function<INPUT, OUTPUT>) - 接口 中的静态方法org.apache.ratis.util.CollectionUtils
 
asBiConsumer(CompletableFuture<V>) - 接口 中的静态方法org.apache.ratis.util.JavaUtils
 
asCheckedFunction(CheckedConsumer<INPUT, THROWABLE>) - 接口 中的静态方法org.apache.ratis.util.function.CheckedConsumer
 
asCheckedSupplier(CheckedRunnable<THROWABLE>) - 接口 中的静态方法org.apache.ratis.util.function.CheckedRunnable
 
asIOException(Throwable) - 接口 中的静态方法org.apache.ratis.util.IOUtils
 
assertCurrentState(Set<LifeCycle.State>) - 类 中的方法org.apache.ratis.util.LifeCycle
Assert if the current state equals to one of the expected states.
assertCurrentState(BiFunction<String, LifeCycle.State, T>, Set<LifeCycle.State>) - 类 中的方法org.apache.ratis.util.LifeCycle
Assert if the current state equals to one of the expected states.
assertInstanceOf(Object, Class<T>) - 接口 中的静态方法org.apache.ratis.util.Preconditions
 
assertKey(String, int, Object, Class<?>) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
assertNotNull(T, Supplier<String>) - 接口 中的静态方法org.apache.ratis.util.Preconditions
 
assertNotNull(T, String) - 接口 中的静态方法org.apache.ratis.util.Preconditions
 
assertNotTerminated() - 接口 中的静态方法org.apache.ratis.util.ExitUtils
 
assertNull(Object, Supplier<String>) - 接口 中的静态方法org.apache.ratis.util.Preconditions
 
assertNull(Object, String) - 接口 中的静态方法org.apache.ratis.util.Preconditions
 
assertOpen() - 类 中的方法org.apache.ratis.util.OpenCloseState
Assert this is open.
assertSame(long, long, String) - 接口 中的静态方法org.apache.ratis.util.Preconditions
 
assertTrue(boolean) - 接口 中的静态方法org.apache.ratis.util.Preconditions
Assert if the given value is true.
assertTrue(boolean, Object) - 接口 中的静态方法org.apache.ratis.util.Preconditions
Assert if the given value is true.
assertTrue(boolean, String, Object...) - 接口 中的静态方法org.apache.ratis.util.Preconditions
Assert if the given value is true.
assertTrue(boolean, Supplier<Object>) - 接口 中的静态方法org.apache.ratis.util.Preconditions
Assert if the given value is true.
assertUnique(Iterable<T>) - 接口 中的静态方法org.apache.ratis.util.Preconditions
 
assertUnique(Iterable<T>, Iterable<T>) - 接口 中的静态方法org.apache.ratis.util.Preconditions
 
AtomicFileOutputStream - org.apache.ratis.util中的类
A FilterOutputStream that writes to a file atomically.
AtomicFileOutputStream(File) - 类 的构造器org.apache.ratis.util.AtomicFileOutputStream
 
AtomicFileOutputStream(File, File) - 类 的构造器org.apache.ratis.util.AtomicFileOutputStream
 
AtomicUtils - org.apache.ratis.util中的接口
Utilities related to atomic operations.
attempt(CheckedSupplier<T, IOException>, Supplier<?>) - 接口 中的静态方法org.apache.ratis.util.FileUtils
 
attempt(CheckedSupplier<RETURN, THROWABLE>, int, TimeDuration, Supplier<?>, Logger) - 接口 中的静态方法org.apache.ratis.util.JavaUtils
Attempt to get a return value from the given supplier multiple times.
attempt(CheckedRunnable<THROWABLE>, int, TimeDuration, String, Logger) - 接口 中的静态方法org.apache.ratis.util.JavaUtils
Attempt to run the given op multiple times.
attemptRepeatedly(CheckedSupplier<RETURN, THROWABLE>, int, TimeDuration, String, Logger) - 接口 中的静态方法org.apache.ratis.util.JavaUtils
Attempt to get a return value from the given supplier multiple times.
attemptUntilTrue(BooleanSupplier, int, TimeDuration, String, Logger) - 接口 中的静态方法org.apache.ratis.util.JavaUtils
Attempt to wait the given condition to return true multiple times.
AutoCloseableLock - org.apache.ratis.util中的类
Wrap a lock with the AutoCloseable interface so that the AutoCloseableLock.close() method will unlock the lock.
AutoCloseableReadWriteLock - org.apache.ratis.util中的类
 
AutoCloseableReadWriteLock(Object) - 类 的构造器org.apache.ratis.util.AutoCloseableReadWriteLock
 

B

build() - 类 中的方法org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer.Builder
 
build() - 类 中的方法org.apache.ratis.protocol.RaftClientReply.Builder
 
build() - 类 中的方法org.apache.ratis.protocol.RaftClientRequest.Builder
 
build() - 类 中的方法org.apache.ratis.protocol.RaftPeer.Builder
 
build() - 类 中的方法org.apache.ratis.protocol.RoutingTable.Builder
 
build() - 类 中的方法org.apache.ratis.retry.ExceptionDependentRetry.Builder
 
build() - 类 中的方法org.apache.ratis.retry.ExponentialBackoffRetry.Builder
 
Builder() - 类 的构造器org.apache.ratis.protocol.RaftClientReply.Builder
 
Builder() - 类 的构造器org.apache.ratis.protocol.RaftClientRequest.Builder
 
Builder() - 类 的构造器org.apache.ratis.protocol.RaftPeer.Builder
 
Builder() - 类 的构造器org.apache.ratis.retry.ExceptionDependentRetry.Builder
 
bytes2HexShortString(ByteString) - 类 中的静态方法org.apache.ratis.util.StringUtils
 
bytes2HexString(ByteString) - 类 中的静态方法org.apache.ratis.util.StringUtils
 
bytes2HexString(byte[]) - 类 中的静态方法org.apache.ratis.util.StringUtils
 
bytes2HexString(byte[], int, int) - 类 中的静态方法org.apache.ratis.util.StringUtils
 
bytes2HexString(ByteBuffer) - 类 中的静态方法org.apache.ratis.util.StringUtils
 
bytes2Object(byte[], Class<T>) - 接口 中的静态方法org.apache.ratis.util.IOUtils
 

C

callAsUnchecked(Callable<T>) - 接口 中的静态方法org.apache.ratis.util.JavaUtils
Invoke Callable.call() and, if there any, wrap the checked exception by RuntimeException.
callAsUnchecked(CheckedSupplier<OUTPUT, THROWABLE>, Function<THROWABLE, ? extends RuntimeException>) - 接口 中的静态方法org.apache.ratis.util.JavaUtils
 
CallId - org.apache.ratis.rpc中的类
A long ID for RPC calls.
cast(Object, Class<T>) - 接口 中的静态方法org.apache.ratis.util.JavaUtils
The same as Class.cast(Object) except that this method returns null (but not throw ClassCastException) if the given object is not an instance of the given class.
cast(Object) - 接口 中的静态方法org.apache.ratis.util.JavaUtils
 
CheckedBiConsumer<LEFT,RIGHT,THROWABLE extends Throwable> - org.apache.ratis.util.function中的接口
BiConsumer with a throws-clause.
CheckedBiFunction<LEFT,RIGHT,OUTPUT,THROWABLE extends Throwable> - org.apache.ratis.util.function中的接口
BiFunction with a throws-clause.
CheckedConsumer<INPUT,THROWABLE extends Throwable> - org.apache.ratis.util.function中的接口
Consumer with a throws-clause.
CheckedFunction<INPUT,OUTPUT,THROWABLE extends Throwable> - org.apache.ratis.util.function中的接口
Function with a throws-clause.
CheckedFunctionWithTimeout<INPUT,OUTPUT,THROWABLE extends Throwable> - org.apache.ratis.util.function中的接口
Function with a timeout and a throws-clause.
CheckedRunnable<THROWABLE extends Throwable> - org.apache.ratis.util.function中的接口
Runnable with a throws-clause.
CheckedSupplier<OUTPUT,THROWABLE extends Throwable> - org.apache.ratis.util.function中的接口
Supplier with a throws-clause.
checkStateAndClose() - 类 中的方法org.apache.ratis.util.LifeCycle
Check the current state and, if applicable, transit to LifeCycle.State.CLOSING.
checkStateAndClose(CheckedRunnable<T>) - 类 中的方法org.apache.ratis.util.LifeCycle
Check the current state and, if applicable, run the given close method.
ChecksumException - org.apache.ratis.protocol.exceptions中的异常错误
Thrown for checksum errors.
ChecksumException(String, long) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.ChecksumException
 
CLASS_SIMPLE_NAMES - 接口 中的静态变量org.apache.ratis.util.JavaUtils
 
Classes() - 类 的构造器org.apache.ratis.util.ReflectionUtils.Classes
 
cleanup(Logger, Closeable...) - 接口 中的静态方法org.apache.ratis.util.IOUtils
Close the Closeable objects and ignore any Throwable or null pointers.
clear() - 类 中的方法org.apache.ratis.conf.RaftProperties
Clears all keys from the configuration.
clear() - 类 中的方法org.apache.ratis.util.DataBlockingQueue
 
clear() - 类 中的方法org.apache.ratis.util.DataQueue
 
clear() - 接口 中的静态方法org.apache.ratis.util.ExitUtils
Clear all previous terminate(..) calls, if there are any.
Client(Object) - 类 的构造器org.apache.ratis.util.SlidingWindow.Client
 
ClientId - org.apache.ratis.protocol中的类
Id of Raft client.
ClientInvocationId - org.apache.ratis.protocol中的类
The id of a client invocation.
close() - 接口 中的方法org.apache.ratis.io.CloseAsync
close() - 类 中的方法org.apache.ratis.util.AtomicFileOutputStream
 
close() - 类 中的方法org.apache.ratis.util.AutoCloseableLock
Unlock the underlying lock.
close() - 类 中的方法org.apache.ratis.util.OpenCloseState
Transit to close state.
close() - 类 中的方法org.apache.ratis.util.PeerProxyMap
 
close() - 类 中的方法org.apache.ratis.util.ResourceSemaphore
Close the resource.
close() - 类 中的方法org.apache.ratis.util.ResourceSemaphore.Group
 
close() - 类 中的方法org.apache.ratis.util.SlidingWindow.Server
 
close() - 类 中的方法org.apache.ratis.util.TimeoutScheduler
 
close() - 接口 中的方法org.apache.ratis.util.UncheckedAutoCloseable
 
CloseAsync<REPLY> - org.apache.ratis.io中的接口
Support the CloseAsync.closeAsync() method.
closeAsync() - 接口 中的方法org.apache.ratis.io.CloseAsync
Close asynchronously.
CLOSING_OR_CLOSED - 类 中的静态变量org.apache.ratis.util.LifeCycle.States
 
CLOSING_OR_CLOSED_OR_EXCEPTION - 类 中的静态变量org.apache.ratis.util.LifeCycle.States
 
CodeInjectionForTesting - org.apache.ratis.util中的类
Inject code for testing.
CodeInjectionForTesting.Code - org.apache.ratis.util中的接口
Code to be injected.
CollectionUtils - org.apache.ratis.util中的接口
 
combine(LongMinMax) - 类 中的方法org.apache.ratis.util.LongMinMax
Combine that to this.
compareAndTransition(LifeCycle.State, LifeCycle.State) - 类 中的方法org.apache.ratis.util.LifeCycle
If the current state is equal to the specified from state, then transition to the give to state; otherwise, make no change.
compareTo(TimeDuration) - 类 中的方法org.apache.ratis.util.TimeDuration
 
compareTo(Timestamp) - 类 中的方法org.apache.ratis.util.Timestamp
Compare two timestamps, t0 (this) and t1 (that).
completableFuture2String(CompletableFuture<?>, boolean) - 类 中的静态方法org.apache.ratis.util.StringUtils
 
completeExceptionally(Throwable) - 接口 中的静态方法org.apache.ratis.util.JavaUtils
 
computeIfAbsent(ConcurrentMap<K, V>, K, Supplier<V>, Runnable) - 接口 中的静态方法org.apache.ratis.util.CollectionUtils
 
computeIfAbsent(ConcurrentMap<K, V>, K, Supplier<V>) - 接口 中的静态方法org.apache.ratis.util.CollectionUtils
 
computeIfAbsent(RaftPeer) - 类 中的方法org.apache.ratis.util.PeerProxyMap
 
computeMd5ForFile(File) - 类 中的静态方法org.apache.ratis.util.MD5FileUtil
Read dataFile and compute its MD5 checksum.
ConfUtils - org.apache.ratis.conf中的接口
 
Constants() - 类 的构造器org.apache.ratis.retry.RetryPolicies.Constants
 
consumerAsNullFunction(Consumer<INPUT>) - 接口 中的静态方法org.apache.ratis.util.function.FunctionUtils
Convert the given consumer to a function with any output type such that the returned function always returns null.
containsOption(WriteOption[], WriteOption) - 接口 中的静态方法org.apache.ratis.io.WriteOption
 
CorruptedFileException - org.apache.ratis.io中的异常错误
 
CorruptedFileException(File, String) - 异常错误 的构造器org.apache.ratis.io.CorruptedFileException
 
createDirectories(File) - 接口 中的静态方法org.apache.ratis.util.FileUtils
 
createDirectories(Path) - 接口 中的静态方法org.apache.ratis.util.FileUtils
 
createLocalServerAddress(int) - 接口 中的静态方法org.apache.ratis.util.NetUtils
Creates count unique local addresses.
createLocalServerAddress() - 接口 中的静态方法org.apache.ratis.util.NetUtils
Creates a unique local address.
createNewFile(Path) - 接口 中的静态方法org.apache.ratis.util.FileUtils
 
createProxyImpl(RaftPeer) - 类 中的方法org.apache.ratis.util.PeerProxyMap
 
createSocketAddr(String) - 接口 中的静态方法org.apache.ratis.util.NetUtils
The same as createSocketAddr(target, -1).
createSocketAddr(String, int) - 接口 中的静态方法org.apache.ratis.util.NetUtils
Create an InetSocketAddress from the given target and default port.
createSocketAddrForHost(String, int) - 接口 中的静态方法org.apache.ratis.util.NetUtils
Create a socket address with the given host and port.
currentTime() - 类 中的静态方法org.apache.ratis.util.Timestamp
 
currentTimeNanos() - 类 中的静态方法org.apache.ratis.util.Timestamp
 

D

Daemon - org.apache.ratis.util中的类
 
Daemon() - 类 的构造器org.apache.ratis.util.Daemon
Construct a daemon thread.
Daemon(Runnable) - 类 的构造器org.apache.ratis.util.Daemon
Construct a daemon thread with the given runnable.
Daemon(Runnable, String) - 类 的构造器org.apache.ratis.util.Daemon
Construct a daemon thread with the given runnable.
DataBlockingQueue<E> - org.apache.ratis.util中的类
A queue for data elements such that the queue imposes limits on both number of elements and the data size in bytes.
DataBlockingQueue(Object, SizeInBytes, int, ToIntFunction<E>) - 类 的构造器org.apache.ratis.util.DataBlockingQueue
 
DataQueue<E> - org.apache.ratis.util中的类
A queue for data elements such that the queue imposes limits on both number of elements and the data size in bytes.
DataQueue(Object, SizeInBytes, int, ToIntFunction<E>) - 类 的构造器org.apache.ratis.util.DataQueue
 
DataStreamException - org.apache.ratis.protocol.exceptions中的异常错误
 
DataStreamException(RaftPeerId, Throwable) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.DataStreamException
 
DataStreamException(String) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.DataStreamException
 
DataStreamFactory - org.apache.ratis.datastream中的接口
 
DataStreamPacket - org.apache.ratis.protocol中的接口
 
DataStreamPacketByteBuffer - org.apache.ratis.datastream.impl中的类
Implements DataStreamPacket with ByteBuffer.
DataStreamPacketByteBuffer(ClientId, RaftProtos.DataStreamPacketHeaderProto.Type, long, long, ByteBuffer) - 类 的构造器org.apache.ratis.datastream.impl.DataStreamPacketByteBuffer
 
DataStreamPacketHeader - org.apache.ratis.protocol中的类
The header format is streamId, streamOffset, dataLength.
DataStreamPacketHeader(ClientId, RaftProtos.DataStreamPacketHeaderProto.Type, long, long, long) - 类 的构造器org.apache.ratis.protocol.DataStreamPacketHeader
 
DataStreamPacketImpl - org.apache.ratis.datastream.impl中的类
This is an abstract implementation of DataStreamPacket.
DataStreamPacketImpl(ClientId, RaftProtos.DataStreamPacketHeaderProto.Type, long, long) - 类 的构造器org.apache.ratis.datastream.impl.DataStreamPacketImpl
 
DataStreamReply - org.apache.ratis.protocol中的接口
 
DataStreamReplyByteBuffer - org.apache.ratis.datastream.impl中的类
Implements DataStreamReply with ByteBuffer.
DataStreamReplyByteBuffer.Builder - org.apache.ratis.datastream.impl中的类
 
DataStreamReplyHeader - org.apache.ratis.protocol中的类
The header format is DataStreamPacketHeader, bytesWritten and flags.
DataStreamReplyHeader(ClientId, RaftProtos.DataStreamPacketHeaderProto.Type, long, long, long, long, boolean) - 类 的构造器org.apache.ratis.protocol.DataStreamReplyHeader
 
DataStreamRequest - org.apache.ratis.protocol中的接口
 
DataStreamRequestByteBuffer - org.apache.ratis.datastream.impl中的类
Implements DataStreamRequest with ByteBuffer.
DataStreamRequestByteBuffer(DataStreamRequestHeader, ByteBuffer) - 类 的构造器org.apache.ratis.datastream.impl.DataStreamRequestByteBuffer
 
DataStreamRequestFilePositionCount - org.apache.ratis.datastream.impl中的类
DataStreamRequestFilePositionCount(DataStreamRequestHeader, FilePositionCount) - 类 的构造器org.apache.ratis.datastream.impl.DataStreamRequestFilePositionCount
 
DataStreamRequestHeader - org.apache.ratis.protocol中的类
The header format is the same DataStreamPacketHeader since there are no additional fields.
DataStreamRequestHeader(ClientId, RaftProtos.DataStreamPacketHeaderProto.Type, long, long, long, WriteOption...) - 类 的构造器org.apache.ratis.protocol.DataStreamRequestHeader
 
dataStreamRequestType() - 类 中的静态方法org.apache.ratis.protocol.RaftClientRequest
 
DataStreamType - org.apache.ratis.datastream中的接口
The type of data stream implementations.
DataStreamType.Get - org.apache.ratis.datastream中的接口
An interface to get DataStreamType.
date() - 接口 中的静态方法org.apache.ratis.util.JavaUtils
 
delete(Path) - 接口 中的静态方法org.apache.ratis.util.FileUtils
Use Files.delete(Path) to delete the given path.
deleteFile(File) - 接口 中的静态方法org.apache.ratis.util.FileUtils
The same as passing f.toPath() to FileUtils.delete(Path).
deleteFileQuietly(File) - 接口 中的静态方法org.apache.ratis.util.FileUtils
The same as passing f.toPath() to FileUtils.delete(Path).
deleteFully(File) - 接口 中的静态方法org.apache.ratis.util.FileUtils
The same as passing f.toPath() to FileUtils.deleteFully(Path).
deleteFully(Path) - 接口 中的静态方法org.apache.ratis.util.FileUtils
Delete fully the given path
digest(byte[]) - 类 中的静态方法org.apache.ratis.io.MD5Hash
Construct a hash value for a byte array.
digest(InputStream) - 类 中的静态方法org.apache.ratis.io.MD5Hash
Construct a hash value for the content from the InputStream.
digest(byte[], int, int) - 类 中的静态方法org.apache.ratis.io.MD5Hash
Construct a hash value for a byte array.
digest(byte[][], int, int) - 类 中的静态方法org.apache.ratis.io.MD5Hash
Construct a hash value for an array of byte array.
disableSystemExit() - 接口 中的静态方法org.apache.ratis.util.ExitUtils
Disable the use of System.exit(int).
dumpAllThreads(Consumer<String>) - 接口 中的静态方法org.apache.ratis.util.JavaUtils
 

E

elapsedTime() - 类 中的方法org.apache.ratis.util.Timestamp
 
elapsedTimeMs() - 类 中的方法org.apache.ratis.util.Timestamp
 
EMPTY - 接口 中的静态变量org.apache.ratis.protocol.Message
 
EMPTY_BYTE_BUFFER - 类 中的静态变量org.apache.ratis.datastream.impl.DataStreamPacketByteBuffer
 
EMPTY_COMPLETABLE_FUTURE_ARRAY - 接口 中的静态变量org.apache.ratis.util.JavaUtils
 
EMPTY_STRING_ARRAY - 类 中的静态变量org.apache.ratis.util.StringUtils
 
emptyArray() - 类 中的静态方法org.apache.ratis.protocol.RaftPeer
 
emptyClientId() - 类 中的静态方法org.apache.ratis.protocol.ClientId
 
emptyGroup() - 类 中的静态方法org.apache.ratis.protocol.RaftGroup
 
emptyGroupId() - 类 中的静态方法org.apache.ratis.protocol.RaftGroupId
 
endOfRequests(Consumer<REQUEST>) - 类 中的方法org.apache.ratis.util.SlidingWindow.Server
Signal the end of requests.
equals(Object) - 类 中的方法org.apache.ratis.io.MD5Hash
Returns true iff o is an MD5Hash whose digest contains the same values.
equals(Object) - 类 中的方法org.apache.ratis.protocol.ClientInvocationId
 
equals(Object) - 类 中的方法org.apache.ratis.protocol.RaftGroup
 
equals(Object) - 类 中的方法org.apache.ratis.protocol.RaftGroupMemberId
 
equals(Object) - 类 中的方法org.apache.ratis.protocol.RaftId
 
equals(Object) - 类 中的方法org.apache.ratis.protocol.RaftPeer
 
equals(Object) - 类 中的方法org.apache.ratis.protocol.RaftPeerId
 
equals(Object) - 类 中的方法org.apache.ratis.retry.MultipleLinearRandomRetry
 
equals(Object) - 类 中的方法org.apache.ratis.util.TimeDuration
 
equals(Object) - 类 中的方法org.apache.ratis.util.Timestamp
 
ExceptionDependentRetry - org.apache.ratis.retry中的类
Exception dependent retry policy.
ExceptionDependentRetry.Builder - org.apache.ratis.retry中的类
 
execute(Object, Object, Object...) - 接口 中的方法org.apache.ratis.util.CodeInjectionForTesting.Code
Execute the injected code for testing.
execute(String, Object, Object, Object...) - 类 中的静态方法org.apache.ratis.util.CodeInjectionForTesting
Execute the injected code, if there is any.
ExitUtils - org.apache.ratis.util中的接口
Facilitates hooking process termination for tests and debugging.
ExitUtils.ExitException - org.apache.ratis.util中的异常错误
 
ExitUtils.States - org.apache.ratis.util中的类
 
ExponentialBackoffRetry - org.apache.ratis.retry中的类
Retry Policy exponentially increases sleep time with randomness on successive retries.
ExponentialBackoffRetry.Builder - org.apache.ratis.retry中的类
 

F

fail(long, Throwable) - 类 中的方法org.apache.ratis.util.SlidingWindow.Client
Fail all requests starting from the given seqNum.
fail(Throwable) - 接口 中的方法org.apache.ratis.util.SlidingWindow.Request
 
FilePositionCount - org.apache.ratis.io中的类
Encapsulate a File with a starting position and a byte count.
FileUtils - org.apache.ratis.util中的接口
 
format(String, Object...) - 类 中的静态方法org.apache.ratis.util.StringUtils
The same as String.format(Locale.ENGLISH, format, objects).
forwardRequestType() - 类 中的静态方法org.apache.ratis.protocol.RaftClientRequest
 
FREEBSD - 类 中的静态变量org.apache.ratis.util.PlatformUtils
 
FunctionUtils - org.apache.ratis.util.function中的接口
 

G

get(BiFunction<String, T, T>, String, T, Consumer<String>, BiConsumer<String, T>...) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
get(String, Class<T>) - 类 中的方法org.apache.ratis.conf.Parameters
 
get(String) - 类 中的方法org.apache.ratis.conf.RaftProperties
Get the value of the name property, null if no such property exists.
get(String, String) - 类 中的方法org.apache.ratis.conf.RaftProperties
Get the value of the name.
get() - 类 中的静态方法org.apache.ratis.rpc.CallId
 
get() - 接口 中的方法org.apache.ratis.util.function.CheckedSupplier
The same as Supplier.get() except that this method is declared with a throws-clause.
get() - 类 中的方法org.apache.ratis.util.MemoizedSupplier
 
get(String) - 类 中的静态方法org.apache.ratis.util.NetUtils.StaticResolution
 
get(int) - 类 中的方法org.apache.ratis.util.ResourceSemaphore.Group
 
getAdd() - 类 中的方法org.apache.ratis.protocol.GroupManagementRequest
 
getAddress() - 类 中的方法org.apache.ratis.protocol.RaftPeer
 
getAdminAddress() - 类 中的方法org.apache.ratis.protocol.RaftPeer
 
getAlreadyClosedException() - 类 中的方法org.apache.ratis.protocol.RaftClientReply
If this reply has AlreadyClosedException, return it; otherwise return null.
getAndIncrement() - 类 中的静态方法org.apache.ratis.rpc.CallId
 
getAttemptCount() - 异常错误 中的方法org.apache.ratis.protocol.exceptions.RaftRetryFailureException
 
getAttemptCount() - 接口 中的方法org.apache.ratis.retry.RetryPolicy.Event
 
getBoolean(BiFunction<String, Boolean, Boolean>, String, boolean, Consumer<String>, BiConsumer<String, Boolean>...) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
getBoolean(String, boolean) - 类 中的方法org.apache.ratis.conf.RaftProperties
Get the value of the name property as a boolean.
getByteLimit() - 类 中的方法org.apache.ratis.util.DataQueue
 
getBytesWritten() - 类 中的方法org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer
 
getBytesWritten() - 接口 中的方法org.apache.ratis.protocol.DataStreamReply
 
getBytesWritten() - 类 中的方法org.apache.ratis.protocol.DataStreamReplyHeader
 
getCallerStackTraceElement() - 接口 中的静态方法org.apache.ratis.util.JavaUtils
 
getCallId() - 异常错误 中的方法org.apache.ratis.protocol.exceptions.NotReplicatedException
 
getCallId() - 类 中的方法org.apache.ratis.protocol.RaftClientMessage
 
getCause() - 接口 中的方法org.apache.ratis.retry.RetryPolicy.Event
 
getCauseCount() - 接口 中的方法org.apache.ratis.retry.RetryPolicy.Event
 
getClass(String, Class<?>) - 类 中的方法org.apache.ratis.conf.RaftProperties
Get the value of the name property as a Class.
getClass(String, Class<? extends BASE>, Class<BASE>) - 类 中的方法org.apache.ratis.conf.RaftProperties
Get the value of the name property as a Class implementing the interface specified by xface.
getClass(String, Class<BASE>) - 接口 中的静态方法org.apache.ratis.util.ReflectionUtils
 
getClassByName(String) - 接口 中的静态方法org.apache.ratis.util.ReflectionUtils
Load a class by name.
getClassByNameOrNull(String) - 接口 中的静态方法org.apache.ratis.util.ReflectionUtils
Load a class by name, returning null rather than throwing an exception if it couldn't be loaded.
getClasses(String, Class<?>...) - 类 中的方法org.apache.ratis.conf.RaftProperties
Get the value of the name property as an array of Class.
getClassLoader() - 接口 中的静态方法org.apache.ratis.util.ReflectionUtils
 
getClassSimpleName(Class<?>) - 接口 中的静态方法org.apache.ratis.util.JavaUtils
 
getClientAddress() - 类 中的方法org.apache.ratis.protocol.RaftPeer
 
getClientId() - 类 中的方法org.apache.ratis.datastream.impl.DataStreamPacketImpl
 
getClientId() - 类 中的方法org.apache.ratis.protocol.ClientInvocationId
 
getClientId() - 接口 中的方法org.apache.ratis.protocol.DataStreamPacket
 
getClientId() - 类 中的方法org.apache.ratis.protocol.RaftClientMessage
 
getCommitInfos() - 类 中的方法org.apache.ratis.protocol.RaftClientReply
Get the commit information for the entire group.
getContent() - 接口 中的方法org.apache.ratis.protocol.Message
 
getCount() - 类 中的方法org.apache.ratis.io.FilePositionCount
 
getCurrentStackTraceElement() - 接口 中的静态方法org.apache.ratis.util.JavaUtils
 
getCurrentState() - 类 中的方法org.apache.ratis.util.LifeCycle
 
getDataLength() - 类 中的方法org.apache.ratis.datastream.impl.DataStreamPacketByteBuffer
 
getDataLength() - 类 中的方法org.apache.ratis.datastream.impl.DataStreamRequestFilePositionCount
 
getDataLength() - 接口 中的方法org.apache.ratis.protocol.DataStreamPacket
 
getDataLength() - 类 中的方法org.apache.ratis.protocol.DataStreamPacketHeader
 
getDataStream() - 类 中的方法org.apache.ratis.protocol.RaftClientRequest.Type
 
getDataStreamAddress() - 类 中的方法org.apache.ratis.protocol.RaftPeer
 
getDataStreamException() - 类 中的方法org.apache.ratis.protocol.RaftClientReply
If this reply has DataStreamException, return it; otherwise return null.
getDataStreamType() - 接口 中的方法org.apache.ratis.datastream.DataStreamType.Get
 
getDefault() - 类 中的静态方法org.apache.ratis.rpc.CallId
 
getDigest() - 类 中的方法org.apache.ratis.io.MD5Hash
Returns the digest bytes.
getDigester() - 类 中的静态方法org.apache.ratis.io.MD5Hash
Create a thread local MD5 digester
getDigestFileForFile(File) - 类 中的静态方法org.apache.ratis.util.MD5FileUtil
 
getDouble(String, double) - 类 中的方法org.apache.ratis.conf.RaftProperties
Get the value of the name property as a double.
getDuration() - 类 中的方法org.apache.ratis.util.TimeDuration
 
getElementLimit() - 类 中的方法org.apache.ratis.util.DataQueue
 
getEnum(String, T) - 类 中的方法org.apache.ratis.conf.RaftProperties
Return value matching this enumerated type.
getException() - 类 中的方法org.apache.ratis.protocol.RaftClientReply
 
getFile(BiFunction<String, File, File>, String, File, Consumer<String>, BiConsumer<String, File>...) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
getFile(String, File) - 类 中的方法org.apache.ratis.conf.RaftProperties
 
getFile() - 类 中的方法org.apache.ratis.datastream.impl.DataStreamRequestFilePositionCount
 
getFile() - 类 中的方法org.apache.ratis.io.FilePositionCount
 
getFiles(BiFunction<String, List<File>, List<File>>, String, List<File>, Consumer<String>, BiConsumer<String, List<File>>...) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
getFiles(String, List<File>) - 类 中的方法org.apache.ratis.conf.RaftProperties
Get the value of the name property as a list of File.
getFirstExitException() - 接口 中的静态方法org.apache.ratis.util.ExitUtils
 
getFloat(String, float) - 类 中的方法org.apache.ratis.conf.RaftProperties
Get the value of the name property as a float.
getForward() - 类 中的方法org.apache.ratis.protocol.RaftClientRequest.Type
 
getFromFuture(CompletableFuture<T>, Supplier<Object>) - 接口 中的静态方法org.apache.ratis.util.IOUtils
 
getFromFuture(CompletableFuture<T>, Supplier<Object>, TimeDuration) - 接口 中的静态方法org.apache.ratis.util.IOUtils
 
getGroup() - 类 中的方法org.apache.ratis.protocol.GroupInfoReply
 
getGroup() - 类 中的方法org.apache.ratis.protocol.GroupManagementRequest.Add
 
getGroupId() - 类 中的方法org.apache.ratis.protocol.GroupManagementRequest.Add
 
getGroupId() - 类 中的方法org.apache.ratis.protocol.GroupManagementRequest.Op
 
getGroupId() - 类 中的方法org.apache.ratis.protocol.GroupManagementRequest.Remove
 
getGroupId() - 类 中的方法org.apache.ratis.protocol.RaftGroup
 
getGroupId() - 类 中的方法org.apache.ratis.protocol.RaftGroupMemberId
 
getGroupIds() - 类 中的方法org.apache.ratis.protocol.GroupListReply
 
getGroupInfo(GroupInfoRequest) - 接口 中的方法org.apache.ratis.protocol.AdminProtocol
 
getGroupInfoAsync(GroupInfoRequest) - 接口 中的方法org.apache.ratis.protocol.AdminAsynchronousProtocol
 
getGroupList(GroupListRequest) - 接口 中的方法org.apache.ratis.protocol.AdminProtocol
 
getGroupListAsync(GroupListRequest) - 接口 中的方法org.apache.ratis.protocol.AdminAsynchronousProtocol
 
getId() - 类 中的方法org.apache.ratis.protocol.RaftPeer
 
getImplClass(Class<BASE>) - 接口 中的静态方法org.apache.ratis.util.ReflectionUtils
 
getImplClassName(Class<?>) - 接口 中的静态方法org.apache.ratis.util.ReflectionUtils
 
getInetSocketAddress(BiFunction<String, String, String>, String, String, Consumer<String>) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
getInput() - 类 中的方法org.apache.ratis.util.SizeInBytes
 
getInstance() - 类 中的静态方法org.apache.ratis.util.TimeoutScheduler
 
getInt(BiFunction<String, Integer, Integer>, String, int, Consumer<String>, BiConsumer<String, Integer>...) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
getInt(String, int) - 类 中的方法org.apache.ratis.conf.RaftProperties
Get the value of the name property as an int.
getInts(String) - 类 中的方法org.apache.ratis.conf.RaftProperties
Get the value of the name property as a set of comma-delimited int values.
getLeaderNotReadyException() - 类 中的方法org.apache.ratis.protocol.RaftClientReply
 
getLeaderSteppingDownException() - 类 中的方法org.apache.ratis.protocol.RaftClientReply
 
getLogIndex() - 异常错误 中的方法org.apache.ratis.protocol.exceptions.NotReplicatedException
 
getLogIndex() - 类 中的方法org.apache.ratis.protocol.RaftClientReply
 
getLong(BiFunction<String, Long, Long>, String, long, Consumer<String>, BiConsumer<String, Long>...) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
getLong(String, long) - 类 中的方法org.apache.ratis.conf.RaftProperties
Get the value of the name property as a long.
getLongId() - 类 中的方法org.apache.ratis.protocol.ClientInvocationId
 
getMax() - 类 中的方法org.apache.ratis.util.LongMinMax
 
getMaxAttempts() - 类 中的方法org.apache.ratis.retry.RetryPolicies.RetryLimited
 
getMessage() - 类 中的方法org.apache.ratis.protocol.RaftClientReply
 
getMessage() - 类 中的方法org.apache.ratis.protocol.RaftClientRequest
 
getMessageStream() - 类 中的方法org.apache.ratis.protocol.RaftClientRequest.Type
 
getMin() - 类 中的方法org.apache.ratis.util.LongMinMax
 
getName() - 类 中的方法org.apache.ratis.util.PeerProxyMap
 
getName(Class<?>, Object) - 接口 中的静态方法org.apache.ratis.util.SlidingWindow
 
getNewLeader() - 类 中的方法org.apache.ratis.protocol.TransferLeadershipRequest
 
getNonNull(String, Class<T>) - 类 中的方法org.apache.ratis.conf.Parameters
The same as Parameters.get(String, Class) except that this method throws a NullPointerException if the key does not map to any value.
getNotLeaderException() - 类 中的方法org.apache.ratis.protocol.RaftClientReply
If this reply has NotLeaderException, return it; otherwise return null.
getNotReplicatedException() - 类 中的方法org.apache.ratis.protocol.RaftClientReply
If this reply has NotReplicatedException, return it; otherwise return null.
getNumBytes() - 类 中的方法org.apache.ratis.util.DataBlockingQueue
 
getNumBytes() - 类 中的方法org.apache.ratis.util.DataQueue
 
getNumElements() - 类 中的方法org.apache.ratis.util.DataBlockingQueue
 
getNumElements() - 类 中的方法org.apache.ratis.util.DataQueue
 
getPattern(String, Pattern) - 类 中的方法org.apache.ratis.conf.RaftProperties
Get the value of the name property as a Pattern.
getPeer(RaftPeerId) - 类 中的方法org.apache.ratis.protocol.RaftGroup
 
getPeerId() - 类 中的方法org.apache.ratis.protocol.RaftGroupMemberId
 
getPeers() - 异常错误 中的方法org.apache.ratis.protocol.exceptions.NotLeaderException
 
getPeers() - 类 中的方法org.apache.ratis.protocol.RaftGroup
 
getPeersInNewConf() - 类 中的方法org.apache.ratis.protocol.SetConfigurationRequest
 
getPos() - 异常错误 中的方法org.apache.ratis.protocol.exceptions.ChecksumException
 
getPosition() - 类 中的方法org.apache.ratis.io.FilePositionCount
 
getPriority() - 类 中的方法org.apache.ratis.protocol.RaftPeer
 
getProps() - 类 中的方法org.apache.ratis.conf.RaftProperties
 
getProxy(RaftPeerId) - 类 中的方法org.apache.ratis.util.PeerProxyMap
 
getRaftGroupId() - 类 中的方法org.apache.ratis.protocol.RaftClientMessage
 
getRaftGroupId() - 接口 中的方法org.apache.ratis.protocol.RaftRpcMessage
 
getRaftPeerId(String) - 类 中的静态方法org.apache.ratis.protocol.RaftPeerId
 
getRaftPeerIdProto() - 类 中的方法org.apache.ratis.protocol.RaftPeerId
 
getRaftPeerProto() - 类 中的方法org.apache.ratis.protocol.RaftPeer
 
getRaw(String) - 类 中的方法org.apache.ratis.conf.RaftProperties
Get the value of the name property, without doing variable expansion.If the key is deprecated, it returns the value of the first key which replaces the deprecated key and is not null.
getRead() - 类 中的方法org.apache.ratis.protocol.RaftClientRequest.Type
 
getRemove() - 类 中的方法org.apache.ratis.protocol.GroupManagementRequest
 
getReplierId() - 类 中的方法org.apache.ratis.protocol.RaftClientMessage
 
getReplierId() - 接口 中的方法org.apache.ratis.protocol.RaftRpcMessage
 
getRequestorId() - 类 中的方法org.apache.ratis.protocol.RaftClientMessage
 
getRequestorId() - 接口 中的方法org.apache.ratis.protocol.RaftRpcMessage
 
getRequiredReplication() - 异常错误 中的方法org.apache.ratis.protocol.exceptions.NotReplicatedException
 
getRoleInfoProto() - 类 中的方法org.apache.ratis.protocol.GroupInfoReply
 
getRootThreadGroup() - 接口 中的静态方法org.apache.ratis.util.JavaUtils
 
getRoutingTable() - 类 中的方法org.apache.ratis.protocol.RaftClientRequest
 
getRpcType() - 接口 中的方法org.apache.ratis.rpc.RpcType.Get
 
getSeqNum() - 接口 中的方法org.apache.ratis.util.SlidingWindow.Request
 
getServerId() - 异常错误 中的方法org.apache.ratis.protocol.exceptions.LeaderNotReadyException
 
getServerId() - 类 中的方法org.apache.ratis.protocol.RaftClientMessage
 
getSize(Message) - 接口 中的静态方法org.apache.ratis.protocol.Message
 
getSize() - 类 中的方法org.apache.ratis.util.SizeInBytes
 
getSizeInBytes(BiFunction<String, SizeInBytes, SizeInBytes>, String, SizeInBytes, Consumer<String>, BiConsumer<String, SizeInBytes>...) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
getSizeInBytes(String, SizeInBytes) - 类 中的方法org.apache.ratis.conf.RaftProperties
 
getSizeInt() - 类 中的方法org.apache.ratis.util.SizeInBytes
 
getSizeOfHeaderBodyLen() - 类 中的静态方法org.apache.ratis.protocol.DataStreamPacketHeader
 
getSizeOfHeaderLen() - 类 中的静态方法org.apache.ratis.protocol.DataStreamPacketHeader
 
getSleepTime() - 接口 中的方法org.apache.ratis.retry.RetryPolicy.Action
 
getSlidingWindowEntry() - 类 中的方法org.apache.ratis.protocol.RaftClientRequest
 
getStaleRead() - 类 中的方法org.apache.ratis.protocol.RaftClientRequest.Type
 
getStateMachineException() - 类 中的方法org.apache.ratis.protocol.RaftClientReply
If this reply has StateMachineException, return it; otherwise return null.
getStatus() - 异常错误 中的方法org.apache.ratis.util.ExitUtils.ExitException
 
getStreamId() - 类 中的方法org.apache.ratis.datastream.impl.DataStreamPacketImpl
 
getStreamId() - 接口 中的方法org.apache.ratis.protocol.DataStreamPacket
 
getStreamOffset() - 类 中的方法org.apache.ratis.datastream.impl.DataStreamPacketImpl
 
getStreamOffset() - 接口 中的方法org.apache.ratis.protocol.DataStreamPacket
 
getSuccessors(RaftPeerId) - 接口 中的方法org.apache.ratis.protocol.RoutingTable
 
getSuggestedLeader() - 异常错误 中的方法org.apache.ratis.protocol.exceptions.NotLeaderException
 
getSymbol() - 枚举 中的方法org.apache.ratis.util.TraditionalBinaryPrefix
 
getSymbols() - 枚举 中的方法org.apache.ratis.util.TimeDuration.Abbreviation
 
getTemporaryFile(File) - 类 中的静态方法org.apache.ratis.util.AtomicFileOutputStream
 
getThrowable() - 类 中的方法org.apache.ratis.util.OpenCloseState
 
getTimeDuration(BiFunction<String, TimeDuration, TimeDuration>, String, TimeDuration, Consumer<String>, BiConsumer<String, TimeDuration>...) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
getTimeDuration(String, TimeDuration, TimeUnit) - 类 中的方法org.apache.ratis.conf.RaftProperties
Return time duration in the given time unit.
getTimeDuration(TimeUnit) - 类 中的方法org.apache.ratis.conf.RaftProperties
 
getTimeoutMs() - 类 中的方法org.apache.ratis.protocol.RaftClientRequest
 
getTransferLeadershipException() - 类 中的方法org.apache.ratis.protocol.RaftClientReply
 
getTrimmed(String) - 类 中的方法org.apache.ratis.conf.RaftProperties
Get the value of the name property as a trimmed String, null if no such property exists.
getTrimmed(String, String) - 类 中的方法org.apache.ratis.conf.RaftProperties
Get the value of the name property as a trimmed String, defaultValue if no such property exists.
getTrimmedStrings(String) - 类 中的方法org.apache.ratis.conf.RaftProperties
Get the comma delimited values of the name property as an array of Strings, trimmed of the leading and trailing whitespace.
getTrimmedStrings(String) - 类 中的静态方法org.apache.ratis.util.StringUtils
Splits the given comma separated String.
getType() - 类 中的方法org.apache.ratis.datastream.impl.DataStreamPacketImpl
 
getType() - 接口 中的方法org.apache.ratis.protocol.DataStreamPacket
 
getType() - 类 中的方法org.apache.ratis.protocol.RaftClientRequest
 
getTypeCase() - 类 中的方法org.apache.ratis.protocol.RaftClientRequest.Type
 
getUnit() - 类 中的方法org.apache.ratis.util.TimeDuration
 
getUuid() - 类 中的方法org.apache.ratis.protocol.RaftId
 
getValByRegex(String) - 类 中的方法org.apache.ratis.conf.RaftProperties
get keys matching the the regex
getValue() - 类 中的方法org.apache.ratis.util.PureJavaCrc32C
 
getValue() - 枚举 中的方法org.apache.ratis.util.TraditionalBinaryPrefix
 
getWatch() - 类 中的方法org.apache.ratis.protocol.RaftClientRequest.Type
 
getWrite() - 类 中的方法org.apache.ratis.protocol.RaftClientRequest.Type
 
getWriteOptions() - 类 中的方法org.apache.ratis.datastream.impl.DataStreamRequestByteBuffer
 
getWriteOptions() - 类 中的方法org.apache.ratis.datastream.impl.DataStreamRequestFilePositionCount
 
getWriteOptions() - 接口 中的方法org.apache.ratis.protocol.DataStreamRequest
 
getWriteOptions() - 类 中的方法org.apache.ratis.protocol.DataStreamRequestHeader
 
Group(int...) - 类 的构造器org.apache.ratis.util.ResourceSemaphore.Group
 
GroupInfoReply - org.apache.ratis.protocol中的类
The response of server information request.
GroupInfoReply(RaftClientRequest, Collection<RaftProtos.CommitInfoProto>, RaftGroup, RaftProtos.RoleInfoProto, boolean) - 类 的构造器org.apache.ratis.protocol.GroupInfoReply
 
GroupInfoReply(ClientId, RaftPeerId, RaftGroupId, long, Collection<RaftProtos.CommitInfoProto>, RaftGroup, RaftProtos.RoleInfoProto, boolean) - 类 的构造器org.apache.ratis.protocol.GroupInfoReply
 
GroupInfoRequest - org.apache.ratis.protocol中的类
Client sends this request to a server to request for the information about the server itself.
GroupInfoRequest(ClientId, RaftPeerId, RaftGroupId, long) - 类 的构造器org.apache.ratis.protocol.GroupInfoRequest
 
GroupListReply - org.apache.ratis.protocol中的类
The response of group list request.
GroupListReply(RaftClientRequest, List<RaftGroupId>) - 类 的构造器org.apache.ratis.protocol.GroupListReply
 
GroupListReply(ClientId, RaftPeerId, RaftGroupId, long, List<RaftGroupId>) - 类 的构造器org.apache.ratis.protocol.GroupListReply
 
GroupListRequest - org.apache.ratis.protocol中的类
Client sends this request to a server to request for the information about the server itself.
GroupListRequest(ClientId, RaftPeerId, RaftGroupId, long) - 类 的构造器org.apache.ratis.protocol.GroupListRequest
 
groupManagement(GroupManagementRequest) - 接口 中的方法org.apache.ratis.protocol.AdminProtocol
 
groupManagementAsync(GroupManagementRequest) - 接口 中的方法org.apache.ratis.protocol.AdminAsynchronousProtocol
 
GroupManagementRequest - org.apache.ratis.protocol中的类
 
GroupManagementRequest.Add - org.apache.ratis.protocol中的类
 
GroupManagementRequest.Op - org.apache.ratis.protocol中的类
 
GroupManagementRequest.Remove - org.apache.ratis.protocol中的类
 
GroupMismatchException - org.apache.ratis.protocol.exceptions中的异常错误
This exception indicates that the group id in the request does not match server's group id.
GroupMismatchException(String) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.GroupMismatchException
 

H

halfDigest() - 类 中的方法org.apache.ratis.io.MD5Hash
Construct a half-sized version of this MD5.
handleAttemptFailure(RetryPolicy.Event) - 类 中的方法org.apache.ratis.retry.ExceptionDependentRetry
 
handleAttemptFailure(RetryPolicy.Event) - 类 中的方法org.apache.ratis.retry.ExponentialBackoffRetry
 
handleAttemptFailure(RetryPolicy.Event) - 类 中的方法org.apache.ratis.retry.MultipleLinearRandomRetry
 
handleAttemptFailure(RetryPolicy.Event) - 类 中的方法org.apache.ratis.retry.RetryPolicies.NoRetry
 
handleAttemptFailure(RetryPolicy.Event) - 类 中的方法org.apache.ratis.retry.RetryPolicies.RetryForeverNoSleep
 
handleAttemptFailure(RetryPolicy.Event) - 类 中的方法org.apache.ratis.retry.RetryPolicies.RetryForeverWithSleep
 
handleAttemptFailure(RetryPolicy.Event) - 类 中的方法org.apache.ratis.retry.RetryPolicies.RetryLimited
 
handleAttemptFailure(RetryPolicy.Event) - 接口 中的方法org.apache.ratis.retry.RetryPolicy
Determines whether it is supposed to retry after the operation has failed.
handleException(RaftPeerId, Throwable, boolean) - 类 中的方法org.apache.ratis.util.PeerProxyMap
 
hashCode() - 类 中的方法org.apache.ratis.io.MD5Hash
Returns a hash code value for this object.
hashCode() - 类 中的方法org.apache.ratis.protocol.ClientInvocationId
 
hashCode() - 类 中的方法org.apache.ratis.protocol.RaftGroup
 
hashCode() - 类 中的方法org.apache.ratis.protocol.RaftGroupMemberId
 
hashCode() - 类 中的方法org.apache.ratis.protocol.RaftId
 
hashCode() - 类 中的方法org.apache.ratis.protocol.RaftPeer
 
hashCode() - 类 中的方法org.apache.ratis.protocol.RaftPeerId
 
hashCode() - 类 中的方法org.apache.ratis.retry.MultipleLinearRandomRetry
 
hashCode() - 类 中的方法org.apache.ratis.util.TimeDuration
 
hashCode() - 类 中的方法org.apache.ratis.util.Timestamp
 
hasReply() - 接口 中的方法org.apache.ratis.util.SlidingWindow.Request
 
higherUnit(TimeUnit) - 类 中的静态方法org.apache.ratis.util.TimeDuration
 

I

infoOrTrace(Logger, String, Throwable) - 接口 中的静态方法org.apache.ratis.util.LogUtils
 
infoOrTrace(Logger, Supplier<String>, Throwable) - 接口 中的静态方法org.apache.ratis.util.LogUtils
 
instantiate(String, Constructor<T>, Object[]) - 接口 中的静态方法org.apache.ratis.util.ReflectionUtils
 
instantiateException(Class<T>) - 接口 中的静态方法org.apache.ratis.util.ReflectionUtils
 
instantiateException(Class<T>, String) - 接口 中的静态方法org.apache.ratis.util.ReflectionUtils
 
IOUtils - org.apache.ratis.util中的接口
IO related utility methods.
is(RaftProtos.RaftClientRequestProto.TypeCase) - 类 中的方法org.apache.ratis.protocol.RaftClientRequest
 
is(RaftProtos.RaftClientRequestProto.TypeCase) - 类 中的方法org.apache.ratis.protocol.RaftClientRequest.Type
 
isClosed() - 类 中的方法org.apache.ratis.util.AtomicFileOutputStream
 
isClosed() - 类 中的方法org.apache.ratis.util.OpenCloseState
 
isClosed() - 类 中的方法org.apache.ratis.util.ResourceSemaphore.Group
 
isClosed() - 类 中的方法org.apache.ratis.util.ResourceSemaphore
 
isClosingOrClosed() - 枚举 中的方法org.apache.ratis.util.LifeCycle.State
isDeleteDirectory() - 类 中的方法org.apache.ratis.protocol.GroupManagementRequest.Remove
 
isEmpty() - 类 中的方法org.apache.ratis.util.DataQueue
 
isFirst(long) - 类 中的方法org.apache.ratis.util.SlidingWindow.Client
 
isFirstRequest() - 接口 中的方法org.apache.ratis.util.SlidingWindow.ServerSideRequest
 
isInitialized() - 类 中的方法org.apache.ratis.util.LongMinMax
 
isInitialized() - 类 中的方法org.apache.ratis.util.MemoizedSupplier
 
isInstance(Object, Class<?>...) - 接口 中的静态方法org.apache.ratis.util.ReflectionUtils
Is the given object an instance of one of the given classes?
isNegative() - 类 中的方法org.apache.ratis.util.TimeDuration
 
isNonPositive() - 类 中的方法org.apache.ratis.util.TimeDuration
 
isOpened() - 类 中的方法org.apache.ratis.util.OpenCloseState
 
isPausingOrPaused() - 枚举 中的方法org.apache.ratis.util.LifeCycle.State
isRaftStorageHealthy() - 类 中的方法org.apache.ratis.protocol.GroupInfoReply
 
isRenameDirectory() - 类 中的方法org.apache.ratis.protocol.GroupManagementRequest.Remove
 
isRequest() - 类 中的方法org.apache.ratis.protocol.RaftClientReply
 
isRequest() - 类 中的方法org.apache.ratis.protocol.RaftClientRequest
 
isRequest() - 接口 中的方法org.apache.ratis.protocol.RaftRpcMessage
 
isRunning() - 枚举 中的方法org.apache.ratis.util.LifeCycle.State
isSuccess() - 类 中的方法org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer
 
isSuccess() - 接口 中的方法org.apache.ratis.protocol.DataStreamReply
 
isSuccess() - 类 中的方法org.apache.ratis.protocol.DataStreamReplyHeader
 
isSuccess() - 类 中的方法org.apache.ratis.protocol.RaftClientReply
 
isTerminated() - 接口 中的静态方法org.apache.ratis.util.ExitUtils
 
isUnopened() - 类 中的方法org.apache.ratis.util.OpenCloseState
 
isValid(LifeCycle.State, LifeCycle.State) - 枚举 中的静态方法org.apache.ratis.util.LifeCycle.State
Is the given transition valid?
iterator() - 类 中的方法org.apache.ratis.util.SlidingWindow.RequestMap
Iterate the requests in the order of seqNum.

J

JavaUtils - org.apache.ratis.util中的接口
General Java utility methods.
JmxRegister - org.apache.ratis.util中的类
For registering JMX beans.
JmxRegister() - 类 的构造器org.apache.ratis.util.JmxRegister
 
JvmPauseMonitor - org.apache.ratis.util中的类
 
JvmPauseMonitor(Object, CheckedConsumer<TimeDuration, IOException>) - 类 的构造器org.apache.ratis.util.JvmPauseMonitor
 

L

latest(Timestamp, Timestamp) - 类 中的静态方法org.apache.ratis.util.Timestamp
 
LeaderNotReadyException - org.apache.ratis.protocol.exceptions中的异常错误
This exception is sent from the server to a client.
LeaderNotReadyException(RaftGroupMemberId) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.LeaderNotReadyException
 
leaderShouldStepDown() - 异常错误 中的方法org.apache.ratis.protocol.exceptions.StateMachineException
 
LeaderSteppingDownException - org.apache.ratis.protocol.exceptions中的异常错误
 
LeaderSteppingDownException(String) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.LeaderSteppingDownException
 
LeaderSteppingDownException(String, Throwable) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.LeaderSteppingDownException
 
LifeCycle - org.apache.ratis.util中的类
The life cycle of a machine.
LifeCycle(Object) - 类 的构造器org.apache.ratis.util.LifeCycle
 
LifeCycle.State - org.apache.ratis.util中的枚举
The states in the life cycle.
LifeCycle.States - org.apache.ratis.util中的类
 
LINUX - 类 中的静态变量org.apache.ratis.util.PlatformUtils
 
LOG - 接口 中的静态变量org.apache.ratis.conf.ConfUtils
 
LOG - 接口 中的静态变量org.apache.ratis.util.CodeInjectionForTesting.Code
 
LOG - 类 中的静态变量org.apache.ratis.util.CodeInjectionForTesting
 
LOG - 类 中的静态变量org.apache.ratis.util.DataBlockingQueue
 
LOG - 类 中的静态变量org.apache.ratis.util.DataQueue
 
LOG - 接口 中的静态变量org.apache.ratis.util.FileUtils
 
LOG - 接口 中的静态变量org.apache.ratis.util.JavaUtils
 
LOG - 类 中的静态变量org.apache.ratis.util.JvmPauseMonitor
 
LOG - 类 中的静态变量org.apache.ratis.util.LifeCycle
 
LOG - 接口 中的静态变量org.apache.ratis.util.LogUtils
 
LOG - 类 中的静态变量org.apache.ratis.util.MD5FileUtil
 
LOG - 接口 中的静态变量org.apache.ratis.util.NetUtils
 
LOG - 类 中的静态变量org.apache.ratis.util.PeerProxyMap
 
LOG - 接口 中的静态变量org.apache.ratis.util.SlidingWindow
 
LOG - 类 中的静态变量org.apache.ratis.util.TaskQueue
 
LOG - 类 中的静态变量org.apache.ratis.util.TimeoutScheduler
 
logGet(String, T, T, Consumer<String>) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
logSet(String, Object) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
LogUtils - org.apache.ratis.util中的接口
Logging (as in log4j) related utility methods.
long2String(long, String, int) - 枚举 中的静态方法org.apache.ratis.util.TraditionalBinaryPrefix
Convert a long integer to a string with traditional binary prefix.
LongMinMax - org.apache.ratis.util中的类
Min and max values in long.
LongMinMax() - 类 的构造器org.apache.ratis.util.LongMinMax
 
lowerUnit(TimeUnit) - 类 中的静态方法org.apache.ratis.util.TimeDuration
 

M

MAC - 类 中的静态变量org.apache.ratis.util.PlatformUtils
 
main(String[]) - 接口 中的静态方法org.apache.ratis.RaftConfigKeys
 
map2String(Map<K, V>) - 类 中的静态方法org.apache.ratis.util.StringUtils
 
match(RaftProtos.StateMachineLogEntryProto) - 类 中的方法org.apache.ratis.protocol.ClientInvocationId
 
MD5_LEN - 类 中的静态变量org.apache.ratis.io.MD5Hash
 
MD5_SUFFIX - 类 中的静态变量org.apache.ratis.util.MD5FileUtil
 
MD5FileUtil - org.apache.ratis.util中的类
 
MD5FileUtil() - 类 的构造器org.apache.ratis.util.MD5FileUtil
 
MD5Hash - org.apache.ratis.io中的类
 
MD5Hash() - 类 的构造器org.apache.ratis.io.MD5Hash
Constructs an MD5Hash.
MD5Hash(String) - 类 的构造器org.apache.ratis.io.MD5Hash
Constructs an MD5Hash from a hex string.
MD5Hash(byte[]) - 类 的构造器org.apache.ratis.io.MD5Hash
Constructs an MD5Hash with a specified value.
memoize(Supplier<T>) - 接口 中的静态方法org.apache.ratis.util.JavaUtils
Create a memoized supplier which gets a value by invoking the initializer once and then keeps returning the same value as its supplied results.
MemoizedSupplier<T> - org.apache.ratis.util中的类
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.
Message - org.apache.ratis.protocol中的接口
The information clients append to the raft ring.
messageStreamRequestType(long, long, boolean) - 类 中的静态方法org.apache.ratis.protocol.RaftClientRequest
 
min(T, T, Comparator<T>) - 接口 中的静态方法org.apache.ratis.util.CollectionUtils
 
min(T, T) - 接口 中的静态方法org.apache.ratis.util.CollectionUtils
 
move(File, File) - 接口 中的静态方法org.apache.ratis.util.FileUtils
 
move(Path, Path) - 接口 中的静态方法org.apache.ratis.util.FileUtils
 
moveDirectory(Path, Path) - 接口 中的静态方法org.apache.ratis.util.FileUtils
Moves the directory.
MultipleLinearRandomRetry - org.apache.ratis.retry中的类
Given pairs of number of retries and sleep time (n0, t0), (n1, t1), ..., the first n0 retries sleep t0 milliseconds on average, the following n1 retries sleep t1 milliseconds on average, and so on.
multiply(double) - 类 中的方法org.apache.ratis.util.TimeDuration
 

N

name() - 接口 中的方法org.apache.ratis.datastream.DataStreamType
 
name() - 接口 中的方法org.apache.ratis.rpc.RpcType
 
negate() - 类 中的方法org.apache.ratis.util.TimeDuration
 
NetUtils - org.apache.ratis.util中的接口
 
NetUtils.StaticResolution - org.apache.ratis.util中的类
 
newAdd(ClientId, RaftPeerId, long, RaftGroup) - 类 中的静态方法org.apache.ratis.protocol.GroupManagementRequest
 
newBuilder() - 类 中的静态方法org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer
 
newBuilder() - 类 中的静态方法org.apache.ratis.protocol.RaftClientReply
 
newBuilder() - 类 中的静态方法org.apache.ratis.protocol.RaftClientRequest
 
newBuilder() - 类 中的静态方法org.apache.ratis.protocol.RaftPeer
 
newBuilder(RaftPeer) - 类 中的静态方法org.apache.ratis.protocol.RaftPeer
 
newBuilder() - 接口 中的静态方法org.apache.ratis.protocol.RoutingTable
 
newBuilder() - 类 中的静态方法org.apache.ratis.retry.ExceptionDependentRetry
 
newBuilder() - 类 中的静态方法org.apache.ratis.retry.ExponentialBackoffRetry
 
newCallable(Logger, Callable<T>, Supplier<String>) - 接口 中的静态方法org.apache.ratis.util.LogUtils
 
newCheckedSupplier(Logger, CheckedSupplier<OUTPUT, THROWABLE>, Supplier<String>) - 接口 中的静态方法org.apache.ratis.util.LogUtils
 
newClientFactory(Parameters) - 接口 中的方法org.apache.ratis.datastream.DataStreamType
 
newClientFactory(Parameters) - 枚举 中的方法org.apache.ratis.datastream.SupportedDataStreamType
 
newFactory(Parameters) - 接口 中的方法org.apache.ratis.rpc.RpcType
 
newFactory(Parameters) - 枚举 中的方法org.apache.ratis.rpc.SupportedRpcType
 
newInstance(Class<T>) - 接口 中的静态方法org.apache.ratis.util.ReflectionUtils
Create an object for the given class using its default constructor.
newInstance(Class<T>, Class<?>[], Object...) - 接口 中的静态方法org.apache.ratis.util.ReflectionUtils
Create an object for the given class using the specified constructor.
newRemove(ClientId, RaftPeerId, long, RaftGroupId, boolean, boolean) - 类 中的静态方法org.apache.ratis.protocol.GroupManagementRequest
 
newRoutingTable(Map<RaftPeerId, Set<RaftPeerId>>) - 接口 中的静态方法org.apache.ratis.protocol.RoutingTable
 
newRunnable(Logger, Runnable, Supplier<String>) - 接口 中的静态方法org.apache.ratis.util.LogUtils
 
newServerFactory(Parameters) - 接口 中的方法org.apache.ratis.datastream.DataStreamType
 
newServerFactory(Parameters) - 枚举 中的方法org.apache.ratis.datastream.SupportedDataStreamType
 
next(T, Iterable<T>) - 接口 中的静态方法org.apache.ratis.util.CollectionUtils
 
NO_RETRY_ACTION - 接口 中的静态变量org.apache.ratis.retry.RetryPolicy
 
noRetry() - 接口 中的静态方法org.apache.ratis.retry.RetryPolicies
No retry.
normalizeName(String) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
NotLeaderException - org.apache.ratis.protocol.exceptions中的异常错误
 
NotLeaderException(RaftGroupMemberId, RaftPeer, Collection<RaftPeer>) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.NotLeaderException
 
NotReplicatedException - org.apache.ratis.protocol.exceptions中的异常错误
 
NotReplicatedException(long, RaftProtos.ReplicationLevel, long) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.NotReplicatedException
 
NUM_ATTEMPTS - 接口 中的静态变量org.apache.ratis.util.FileUtils
 

O

object2Bytes(Object) - 接口 中的静态方法org.apache.ratis.util.IOUtils
Serialize the given object to a byte array using ObjectOutputStream.writeObject(Object).
offer(E) - 类 中的方法org.apache.ratis.util.DataBlockingQueue
 
offer(E, TimeDuration) - 类 中的方法org.apache.ratis.util.DataBlockingQueue
Adds an element to this queue, waiting up to the given timeout.
offer(E) - 类 中的方法org.apache.ratis.util.DataQueue
Adds an element to this queue.
ONE_KB - 类 中的静态变量org.apache.ratis.util.SizeInBytes
 
ONE_MILLISECOND - 类 中的静态变量org.apache.ratis.util.TimeDuration
 
ONE_MINUTE - 类 中的静态变量org.apache.ratis.util.TimeDuration
 
ONE_SECOND - 类 中的静态变量org.apache.ratis.util.TimeDuration
 
onTimeout(TimeDuration, CheckedRunnable<THROWABLE>, Consumer<THROWABLE>) - 类 中的方法org.apache.ratis.util.TimeoutScheduler
Schedule a timeout task.
onTimeout(TimeDuration, CheckedRunnable<?>, Logger, Supplier<String>) - 类 中的方法org.apache.ratis.util.TimeoutScheduler
When timeout, run the task.
Op() - 类 的构造器org.apache.ratis.protocol.GroupManagementRequest.Op
 
open() - 类 中的方法org.apache.ratis.util.OpenCloseState
Transit to open state.
OpenCloseState - org.apache.ratis.util中的类
The state of objects that can be unopened, opened, closed or exception.
OpenCloseState(String) - 类 的构造器org.apache.ratis.util.OpenCloseState
 
org.apache.ratis - 程序包 org.apache.ratis
 
org.apache.ratis.conf - 程序包 org.apache.ratis.conf
 
org.apache.ratis.datastream - 程序包 org.apache.ratis.datastream
 
org.apache.ratis.datastream.impl - 程序包 org.apache.ratis.datastream.impl
 
org.apache.ratis.io - 程序包 org.apache.ratis.io
 
org.apache.ratis.protocol - 程序包 org.apache.ratis.protocol
 
org.apache.ratis.protocol.exceptions - 程序包 org.apache.ratis.protocol.exceptions
 
org.apache.ratis.retry - 程序包 org.apache.ratis.retry
 
org.apache.ratis.rpc - 程序包 org.apache.ratis.rpc
 
org.apache.ratis.util - 程序包 org.apache.ratis.util
 
org.apache.ratis.util.function - 程序包 org.apache.ratis.util.function
 
OTHER - 类 中的静态变量org.apache.ratis.util.PlatformUtils
 

P

Parameters - org.apache.ratis.conf中的类
A generic parameter map.
Parameters() - 类 的构造器org.apache.ratis.conf.Parameters
 
parse(String, TimeUnit) - 类 中的静态方法org.apache.ratis.util.TimeDuration
The same as valueOf(timeString, targetUnit).toLong(targetUnit).
parseCommaSeparated(String) - 类 中的静态方法org.apache.ratis.retry.MultipleLinearRandomRetry
Parse the given string as a MultipleLinearRandomRetry object.
PAUSING_OR_PAUSED - 类 中的静态变量org.apache.ratis.util.LifeCycle.States
 
PeerProxyMap<PROXY extends Closeable> - org.apache.ratis.util中的类
A map from peer id to peer and its proxy.
PeerProxyMap(String, CheckedFunction<RaftPeer, PROXY, IOException>) - 类 的构造器org.apache.ratis.util.PeerProxyMap
 
PeerProxyMap(String) - 类 的构造器org.apache.ratis.util.PeerProxyMap
 
PlatformUtils - org.apache.ratis.util中的类
Platform and architecture related utility methods.
PlatformUtils.OSType - org.apache.ratis.util中的枚举
 
poll() - 类 中的方法org.apache.ratis.util.DataBlockingQueue
 
poll(TimeDuration) - 类 中的方法org.apache.ratis.util.DataBlockingQueue
Poll out the head element from this queue, waiting up to the given timeout.
poll() - 类 中的方法org.apache.ratis.util.DataQueue
Poll out the head element from this queue.
pollList(long, CheckedFunctionWithTimeout<E, RESULT, THROWABLE>, TriConsumer<E, TimeDuration, TimeoutException>) - 类 中的方法org.apache.ratis.util.DataBlockingQueue
 
pollList(long, CheckedFunctionWithTimeout<E, RESULT, THROWABLE>, TriConsumer<E, TimeDuration, TimeoutException>) - 类 中的方法org.apache.ratis.util.DataQueue
Poll a list of the results within the given timeout.
PPC_64 - 类 中的静态变量org.apache.ratis.util.PlatformUtils
 
preallocate(FileChannel, long, ByteBuffer) - 接口 中的静态方法org.apache.ratis.util.IOUtils
 
Preconditions - org.apache.ratis.util中的接口
 
PREFIX - 接口 中的静态变量org.apache.ratis.RaftConfigKeys.DataStream
 
PREFIX - 接口 中的静态变量org.apache.ratis.RaftConfigKeys
 
PREFIX - 接口 中的静态变量org.apache.ratis.RaftConfigKeys.Rpc
 
printAll(Class<?>) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
printAll(Class<?>, Consumer<Object>) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
printField(Class<?>, Consumer<Object>, Field) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
printKey(Class<?>, Consumer<Object>, Field, String, String, CheckedBiConsumer<StringBuilder, Field, IllegalAccessException>) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
ProtoUtils - org.apache.ratis.util中的接口
 
PureJavaCrc32C - org.apache.ratis.util中的类
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.
PureJavaCrc32C() - 类 的构造器org.apache.ratis.util.PureJavaCrc32C
Create a new PureJavaCrc32 object.
put(String, T, Class<T>) - 类 中的方法org.apache.ratis.conf.Parameters
Put the key-value pair to the map.
put(String, CodeInjectionForTesting.Code) - 类 中的静态方法org.apache.ratis.util.CodeInjectionForTesting
Put an injection point.
put(String, String) - 类 中的静态方法org.apache.ratis.util.NetUtils.StaticResolution
Adds a static resolution for host.
putNew(K, V, Map<K, V>, Supplier<Object>) - 接口 中的静态方法org.apache.ratis.util.CollectionUtils
 

Q

quarterDigest() - 类 中的方法org.apache.ratis.io.MD5Hash
Return a 32-bit digest of the MD5.

R

RaftClientAsynchronousProtocol - org.apache.ratis.protocol中的接口
Asynchronous version of RaftClientProtocol.
RaftClientMessage - org.apache.ratis.protocol中的类
 
RaftClientProtocol - org.apache.ratis.protocol中的接口
 
RaftClientReply - org.apache.ratis.protocol中的类
Reply from server to client
RaftClientReply.Builder - org.apache.ratis.protocol中的类
RaftClientRequest - org.apache.ratis.protocol中的类
Request from client to server
RaftClientRequest(ClientId, RaftPeerId, RaftGroupId, long, RaftClientRequest.Type) - 类 的构造器org.apache.ratis.protocol.RaftClientRequest
 
RaftClientRequest(ClientId, RaftPeerId, RaftGroupId, long, RaftClientRequest.Type, long) - 类 的构造器org.apache.ratis.protocol.RaftClientRequest
 
RaftClientRequest.Builder - org.apache.ratis.protocol中的类
RaftClientRequest.Type - org.apache.ratis.protocol中的类
The type of a request (oneof write, read, staleRead, watch; see the message RaftClientRequestProto).
RaftConfigKeys - org.apache.ratis中的接口
 
RaftConfigKeys.DataStream - org.apache.ratis中的接口
 
RaftConfigKeys.Rpc - org.apache.ratis中的接口
 
RaftException - org.apache.ratis.protocol.exceptions中的异常错误
 
RaftException(String) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.RaftException
 
RaftException(Throwable) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.RaftException
 
RaftException(String, Throwable) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.RaftException
 
RaftGroup - org.apache.ratis.protocol中的类
Description of a raft group, which has a unique RaftGroupId and a collection of RaftPeer.
RaftGroupId - org.apache.ratis.protocol中的类
The id of a raft group.
RaftGroupMemberId - org.apache.ratis.protocol中的类
RaftId - org.apache.ratis.protocol中的类
Unique identifier implemented using UUID.
RaftPeer - org.apache.ratis.protocol中的类
A RaftPeer contains the information of a server.
RaftPeer.Add - org.apache.ratis.protocol中的接口
 
RaftPeer.Builder - org.apache.ratis.protocol中的类
 
RaftPeerId - org.apache.ratis.protocol中的类
Id of Raft Peer which is globally unique.
RaftProperties - org.apache.ratis.conf中的类
Provides access to configuration parameters.
RaftProperties() - 类 的构造器org.apache.ratis.conf.RaftProperties
A new configuration.
RaftProperties(boolean) - 类 的构造器org.apache.ratis.conf.RaftProperties
A new configuration where the behavior of reading from the default resources can be turned off.
RaftProperties(RaftProperties) - 类 的构造器org.apache.ratis.conf.RaftProperties
A new RaftProperties with the same settings cloned from another.
RaftRetryFailureException - org.apache.ratis.protocol.exceptions中的异常错误
Retry failure as per the RetryPolicy defined.
RaftRetryFailureException(RaftClientRequest, int, RetryPolicy, Throwable) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.RaftRetryFailureException
 
RaftRpcMessage - org.apache.ratis.protocol中的接口
 
random(T, Iterable<T>) - 接口 中的静态方法org.apache.ratis.util.CollectionUtils
 
random(Collection<T>) - 接口 中的静态方法org.apache.ratis.util.CollectionUtils
 
randomId() - 类 中的静态方法org.apache.ratis.protocol.ClientId
 
randomId() - 类 中的静态方法org.apache.ratis.protocol.RaftGroupId
 
read(DataInput) - 类 中的静态方法org.apache.ratis.io.MD5Hash
Constructs, reads and returns an instance.
read(ByteBuf) - 类 中的静态方法org.apache.ratis.protocol.DataStreamReplyHeader
 
read(ByteBuf) - 类 中的静态方法org.apache.ratis.protocol.DataStreamRequestHeader
 
readFields(DataInput) - 类 中的方法org.apache.ratis.io.MD5Hash
 
readFully(InputStream, int) - 接口 中的静态方法org.apache.ratis.util.IOUtils
 
readFully(InputStream, byte[], int, int) - 接口 中的静态方法org.apache.ratis.util.IOUtils
Reads len bytes in a loop.
readLock(StackTraceElement, Consumer<String>) - 类 中的方法org.apache.ratis.util.AutoCloseableReadWriteLock
 
readObject(InputStream, Class<T>) - 接口 中的静态方法org.apache.ratis.util.IOUtils
 
readRequestType() - 类 中的静态方法org.apache.ratis.protocol.RaftClientRequest
 
readStoredMd5ForFile(File) - 类 中的静态方法org.apache.ratis.util.MD5FileUtil
Read the md5 checksum stored alongside the given data file.
receivedRequest(REQUEST, Consumer<REQUEST>) - 类 中的方法org.apache.ratis.util.SlidingWindow.Server
A request (or a retry) arrives (may be out-of-order except for the first request).
receiveReply(long, REPLY, Consumer<REQUEST>) - 类 中的方法org.apache.ratis.util.SlidingWindow.Client
Receive a reply with the given seqNum (may out-of-order).
receiveReply(long, REPLY, Consumer<REQUEST>) - 类 中的方法org.apache.ratis.util.SlidingWindow.Server
Receives a reply for the given seqNum (may out-of-order) from the processor.
ReconfigurationInProgressException - org.apache.ratis.protocol.exceptions中的异常错误
 
ReconfigurationInProgressException(String) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.ReconfigurationInProgressException
 
ReconfigurationTimeoutException - org.apache.ratis.protocol.exceptions中的异常错误
 
ReconfigurationTimeoutException(String) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.ReconfigurationTimeoutException
 
ReflectionUtils - org.apache.ratis.util中的接口
Reflection related utility methods.
ReflectionUtils.Classes - org.apache.ratis.util中的类
 
ReflectionUtils.Constructors - org.apache.ratis.util中的类
 
register(Object, Iterable<Supplier<String>>) - 类 中的方法org.apache.ratis.util.JmxRegister
Try registering the mBean with the names one by one.
release(int...) - 类 中的方法org.apache.ratis.util.ResourceSemaphore.Group
 
release() - 类 中的方法org.apache.ratis.util.ResourceSemaphore
 
release(int) - 类 中的方法org.apache.ratis.util.ResourceSemaphore
 
reloadConfiguration() - 类 中的方法org.apache.ratis.conf.RaftProperties
Reload configuration from previously added resources.
Remove(RaftGroupId, boolean, boolean) - 类 的构造器org.apache.ratis.protocol.GroupManagementRequest.Remove
 
removeExisting(K, V, Map<K, V>, Supplier<Object>) - 接口 中的静态方法org.apache.ratis.util.CollectionUtils
 
renameFileToCorrupt(File) - 接口 中的静态方法org.apache.ratis.util.FileUtils
 
renameMD5File(File, File) - 类 中的静态方法org.apache.ratis.util.MD5FileUtil
 
replaceExisting(K, V, V, Map<K, V>, Supplier<Object>) - 接口 中的静态方法org.apache.ratis.util.CollectionUtils
 
requireInt() - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
requireMax(int) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
requireMax(long) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
requireMin(int) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
requireMin(SizeInBytes) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
requireMin(long) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
requireNonNegativeTimeDuration() - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
requirePositive() - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
reset() - 类 中的方法org.apache.ratis.util.PureJavaCrc32C
 
resetFirstSeqNum() - 类 中的方法org.apache.ratis.util.SlidingWindow.Client
Reset the SlidingWindow.Client.firstSeqNum The stream has an error.
resetProxy(RaftPeerId) - 类 中的方法org.apache.ratis.util.PeerProxyMap
 
ResourceSemaphore - org.apache.ratis.util中的类
A Semaphore with a limit for a resource.
ResourceSemaphore(int) - 类 的构造器org.apache.ratis.util.ResourceSemaphore
 
ResourceSemaphore.Group - org.apache.ratis.util中的类
 
ResourceSemaphore.ResourceAcquireStatus - org.apache.ratis.util中的枚举
Track a group of resources with a list of ResourceSemaphores.
resourceSize() - 类 中的方法org.apache.ratis.util.ResourceSemaphore.Group
 
ResourceUnavailableException - org.apache.ratis.protocol.exceptions中的异常错误
A particular resource is unavailable.
ResourceUnavailableException(String) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.ResourceUnavailableException
 
retry(REQUEST, Consumer<REQUEST>) - 类 中的方法org.apache.ratis.util.SlidingWindow.Client
Receive a retry from an existing request (may out-of-order).
RETRY_WITHOUT_SLEEP_ACTION - 接口 中的静态变量org.apache.ratis.retry.RetryPolicy
 
retryForeverNoSleep() - 接口 中的静态方法org.apache.ratis.retry.RetryPolicies
For any requests, keep retrying forever with no sleep between attempts.
retryForeverWithSleep(TimeDuration) - 接口 中的静态方法org.apache.ratis.retry.RetryPolicies
For any requests, keep retrying forever with a fixed sleep time between attempts.
RetryPolicies - org.apache.ratis.retry中的接口
A collection of RetryPolicy implementations
RetryPolicies.Constants - org.apache.ratis.retry中的类
 
RetryPolicies.NoRetry - org.apache.ratis.retry中的类
 
RetryPolicies.RetryForeverNoSleep - org.apache.ratis.retry中的类
 
RetryPolicies.RetryForeverWithSleep - org.apache.ratis.retry中的类
For any requests, keep retrying forever with a fixed sleep time between attempts.
RetryPolicies.RetryLimited - org.apache.ratis.retry中的类
For any requests, keep retrying a limited number of attempts with a fixed sleep time between attempts.
RetryPolicy - org.apache.ratis.retry中的接口
Policy abstract for retrying.
RetryPolicy.Action - org.apache.ratis.retry中的接口
The action it should take.
RetryPolicy.Event - org.apache.ratis.retry中的接口
The event triggered the failure.
retryUpToMaximumCountWithFixedSleep(int, TimeDuration) - 接口 中的静态方法org.apache.ratis.retry.RetryPolicies
For any requests, keep retrying a limited number of attempts with a fixed sleep time between attempts.
ROOT_THREAD_GROUP - 接口 中的静态变量org.apache.ratis.util.JavaUtils
 
roundUpNanos(long) - 类 中的方法org.apache.ratis.util.TimeDuration
Round up to the given nanos to nearest multiple (in nanoseconds) of this TimeDuration.
RoutingTable - org.apache.ratis.protocol中的接口
A routing table is a directed acyclic graph containing exactly one primary peer such that (1) the primary peer is the only starting peer, and (2) all the other peers can be reached from the primary peer by exactly one path.
RoutingTable.Builder - org.apache.ratis.protocol中的类
To build a RoutingTable.
RpcFactory - org.apache.ratis.rpc中的接口
The type of RPC Factory.
RpcType - org.apache.ratis.rpc中的接口
The type of RPC implementations.
RpcType.Get - org.apache.ratis.rpc中的接口
An interface to get RpcType.
run() - 接口 中的方法org.apache.ratis.util.function.CheckedRunnable
The same as Runnable.run() except that this method is declared with a throws-clause.
runAndLog(Logger, CheckedRunnable<THROWABLE>, Supplier<String>) - 接口 中的静态方法org.apache.ratis.util.LogUtils
 
runAsUnchecked(CheckedRunnable<T>) - 接口 中的静态方法org.apache.ratis.util.JavaUtils
 
runAsUnchecked(CheckedRunnable<THROWABLE>, Function<THROWABLE, ? extends RuntimeException>) - 接口 中的静态方法org.apache.ratis.util.JavaUtils
 
RUNNING - 类 中的静态变量org.apache.ratis.util.LifeCycle.States
 
runRepeatedly(Runnable, long, long, TimeUnit) - 接口 中的静态方法org.apache.ratis.util.JavaUtils
 

S

saveMD5File(File, MD5Hash) - 类 中的静态方法org.apache.ratis.util.MD5FileUtil
Save the ".md5" file that lists the md5sum of another file.
Server(Object, REQUEST) - 类 的构造器org.apache.ratis.util.SlidingWindow.Server
 
ServerNotReadyException - org.apache.ratis.protocol.exceptions中的异常错误
The server is not ready yet.
ServerNotReadyException(String) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.ServerNotReadyException
 
set(BiConsumer<String, T>, String, T, BiConsumer<String, T>...) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
set(String, String) - 类 中的方法org.apache.ratis.conf.RaftProperties
Set the value of the name property.
set(MD5Hash) - 类 中的方法org.apache.ratis.io.MD5Hash
Copy the contents of another instance into this instance.
setAddress(String) - 类 中的方法org.apache.ratis.protocol.RaftPeer.Builder
 
setAddress(InetSocketAddress) - 类 中的方法org.apache.ratis.protocol.RaftPeer.Builder
 
setAdminAddress(String) - 类 中的方法org.apache.ratis.protocol.RaftPeer.Builder
 
setAdminAddress(InetSocketAddress) - 类 中的方法org.apache.ratis.protocol.RaftPeer.Builder
 
setBaseSleepTime(TimeDuration) - 类 中的方法org.apache.ratis.retry.ExponentialBackoffRetry.Builder
 
setBoolean(BiConsumer<String, Boolean>, String, boolean, BiConsumer<String, Boolean>...) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
setBoolean(String, boolean) - 类 中的方法org.apache.ratis.conf.RaftProperties
Set the value of the name property to a boolean.
setBooleanIfUnset(String, boolean) - 类 中的方法org.apache.ratis.conf.RaftProperties
Set the given property, if it is currently unset.
setBuffer(ByteBuffer) - 类 中的方法org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer.Builder
 
setBytesWritten(long) - 类 中的方法org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer.Builder
 
setCallId(long) - 类 中的方法org.apache.ratis.protocol.RaftClientReply.Builder
 
setCallId(long) - 类 中的方法org.apache.ratis.protocol.RaftClientRequest.Builder
 
setClass(String, Class<?>, Class<?>) - 类 中的方法org.apache.ratis.conf.RaftProperties
Set the value of the name property to the name of a theClass implementing the given interface xface.
setClientAddress(String) - 类 中的方法org.apache.ratis.protocol.RaftPeer.Builder
 
setClientAddress(InetSocketAddress) - 类 中的方法org.apache.ratis.protocol.RaftPeer.Builder
 
setClientId(ClientId) - 类 中的方法org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer.Builder
 
setClientId(ClientId) - 类 中的方法org.apache.ratis.protocol.RaftClientReply.Builder
 
setClientId(ClientId) - 类 中的方法org.apache.ratis.protocol.RaftClientRequest.Builder
 
setClientInvocationId(ClientInvocationId) - 类 中的方法org.apache.ratis.protocol.RaftClientReply.Builder
 
setCommitInfos(Collection<RaftProtos.CommitInfoProto>) - 类 中的方法org.apache.ratis.protocol.RaftClientReply.Builder
 
setConfiguration(SetConfigurationRequest) - 接口 中的方法org.apache.ratis.protocol.AdminProtocol
 
setConfigurationAsync(SetConfigurationRequest) - 接口 中的方法org.apache.ratis.protocol.AdminAsynchronousProtocol
 
SetConfigurationRequest - org.apache.ratis.protocol中的类
 
SetConfigurationRequest(ClientId, RaftPeerId, RaftGroupId, long, List<RaftPeer>) - 类 的构造器org.apache.ratis.protocol.SetConfigurationRequest
 
setDataStreamAddress(String) - 类 中的方法org.apache.ratis.protocol.RaftPeer.Builder
 
setDataStreamAddress(InetSocketAddress) - 类 中的方法org.apache.ratis.protocol.RaftPeer.Builder
 
setDataStreamPacket(DataStreamPacket) - 类 中的方法org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer.Builder
 
setDataStreamReplyHeader(DataStreamReplyHeader) - 类 中的方法org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer.Builder
 
setDefaultPolicy(RetryPolicy) - 类 中的方法org.apache.ratis.retry.ExceptionDependentRetry.Builder
 
setDigest(String) - 类 中的方法org.apache.ratis.io.MD5Hash
Sets the digest value from a hex string.
setDouble(String, double) - 类 中的方法org.apache.ratis.conf.RaftProperties
Set the value of the name property to a double.
setEnum(String, T) - 类 中的方法org.apache.ratis.conf.RaftProperties
Set the value of the name property to the given type.
setException(RaftException) - 类 中的方法org.apache.ratis.protocol.RaftClientReply.Builder
 
setExceptionToPolicy(Class<? extends Throwable>, RetryPolicy) - 类 中的方法org.apache.ratis.retry.ExceptionDependentRetry.Builder
 
setFile(BiConsumer<String, File>, String, File, BiConsumer<String, File>...) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
setFile(String, File) - 类 中的方法org.apache.ratis.conf.RaftProperties
 
setFiles(BiConsumer<String, List<File>>, String, List<File>, BiConsumer<String, List<File>>...) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
setFiles(String, List<File>) - 类 中的方法org.apache.ratis.conf.RaftProperties
 
setFirstRequest() - 接口 中的方法org.apache.ratis.util.SlidingWindow.ClientSideRequest
 
setFloat(String, float) - 类 中的方法org.apache.ratis.conf.RaftProperties
Set the value of the name property to a float.
setGroupId(RaftGroupId) - 类 中的方法org.apache.ratis.protocol.RaftClientReply.Builder
 
setGroupId(RaftGroupId) - 类 中的方法org.apache.ratis.protocol.RaftClientRequest.Builder
 
setId(RaftPeerId) - 类 中的方法org.apache.ratis.protocol.RaftPeer.Builder
 
setId(String) - 类 中的方法org.apache.ratis.protocol.RaftPeer.Builder
 
setId(ByteString) - 类 中的方法org.apache.ratis.protocol.RaftPeer.Builder
 
setIfUnset(String, String) - 类 中的方法org.apache.ratis.conf.RaftProperties
Sets a property if it is currently unset.
setInt(BiConsumer<String, Integer>, String, int, BiConsumer<String, Integer>...) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
setInt(String, int) - 类 中的方法org.apache.ratis.conf.RaftProperties
Set the value of the name property to an int.
setLogIndex(long) - 类 中的方法org.apache.ratis.protocol.RaftClientReply.Builder
 
setLong(BiConsumer<String, Long>, String, long, BiConsumer<String, Long>...) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
setLong(String, long) - 类 中的方法org.apache.ratis.conf.RaftProperties
Set the value of the name property to a long.
setMaxAttempts(int) - 类 中的方法org.apache.ratis.retry.ExceptionDependentRetry.Builder
 
setMaxAttempts(int) - 类 中的方法org.apache.ratis.retry.ExponentialBackoffRetry.Builder
 
setMaxSleepTime(TimeDuration) - 类 中的方法org.apache.ratis.retry.ExponentialBackoffRetry.Builder
 
setMessage(Message) - 类 中的方法org.apache.ratis.protocol.RaftClientReply.Builder
 
setMessage(Message) - 类 中的方法org.apache.ratis.protocol.RaftClientRequest.Builder
 
setName(String) - 类 中的方法org.apache.ratis.util.LifeCycle
 
setPattern(String, Pattern) - 类 中的方法org.apache.ratis.conf.RaftProperties
Set the given property to Pattern.
setPriority(int) - 类 中的方法org.apache.ratis.protocol.RaftPeer.Builder
 
setReply(REPLY) - 接口 中的方法org.apache.ratis.util.SlidingWindow.Request
 
setRequest(RaftClientRequest) - 类 中的方法org.apache.ratis.protocol.RaftClientReply.Builder
 
setRoutingTable(RoutingTable) - 类 中的方法org.apache.ratis.protocol.RaftClientRequest.Builder
 
setServerId(RaftPeerId) - 类 中的方法org.apache.ratis.protocol.RaftClientReply.Builder
 
setServerId(RaftGroupMemberId) - 类 中的方法org.apache.ratis.protocol.RaftClientReply.Builder
 
setServerId(RaftPeerId) - 类 中的方法org.apache.ratis.protocol.RaftClientRequest.Builder
 
setSizeInBytes(BiConsumer<String, String>, String, SizeInBytes, BiConsumer<String, Long>...) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
setSlidingWindowEntry(RaftProtos.SlidingWindowEntry) - 类 中的方法org.apache.ratis.protocol.RaftClientRequest.Builder
 
setStreamId(long) - 类 中的方法org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer.Builder
 
setStreamOffset(long) - 类 中的方法org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer.Builder
 
setSuccess(boolean) - 类 中的方法org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer.Builder
 
setSuccess(boolean) - 类 中的方法org.apache.ratis.protocol.RaftClientReply.Builder
 
setSuccess() - 类 中的方法org.apache.ratis.protocol.RaftClientReply.Builder
 
setTerminateOnUncaughtException(boolean) - 接口 中的静态方法org.apache.ratis.util.ExitUtils
 
setTimeDuration(BiConsumer<String, TimeDuration>, String, TimeDuration, BiConsumer<String, TimeDuration>...) - 接口 中的静态方法org.apache.ratis.conf.ConfUtils
 
setTimeDuration(String, TimeDuration) - 类 中的方法org.apache.ratis.conf.RaftProperties
Set the value of name to the given time duration.
setTimeoutMs(long) - 类 中的方法org.apache.ratis.protocol.RaftClientRequest.Builder
 
setType(RaftProtos.DataStreamPacketHeaderProto.Type) - 类 中的方法org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer.Builder
 
setType(RaftClientRequest.Type) - 类 中的方法org.apache.ratis.protocol.RaftClientRequest.Builder
 
setType(RaftProperties, SupportedDataStreamType) - 接口 中的静态方法org.apache.ratis.RaftConfigKeys.DataStream
 
setType(RaftProperties, RpcType) - 接口 中的静态方法org.apache.ratis.RaftConfigKeys.Rpc
 
shouldReconnect(Throwable) - 接口 中的静态方法org.apache.ratis.util.IOUtils
 
shouldRetry() - 接口 中的方法org.apache.ratis.retry.RetryPolicy.Action
 
size() - 类 中的方法org.apache.ratis.conf.RaftProperties
Return the number of keys in the configuration.
size() - 接口 中的方法org.apache.ratis.protocol.Message
 
size() - 类 中的方法org.apache.ratis.util.DataQueue
 
SizeInBytes - org.apache.ratis.util中的类
Size which may be constructed with a TraditionalBinaryPrefix.
skipFully(InputStream, long) - 接口 中的静态方法org.apache.ratis.util.IOUtils
Similar to readFully().
sleep() - 类 中的方法org.apache.ratis.util.TimeDuration
The same as sleep(null).
sleep(Consumer<Object>) - 类 中的方法org.apache.ratis.util.TimeDuration
Performs a TimeUnit.sleep(long) using this TimeDuration.
SLEEP_TIME - 接口 中的静态变量org.apache.ratis.util.FileUtils
 
slice() - 类 中的方法org.apache.ratis.datastream.impl.DataStreamPacketByteBuffer
 
SlidingWindow - org.apache.ratis.util中的接口
A single-client-to-multiple-server sliding window.
SlidingWindow.Client<REQUEST extends SlidingWindow.ClientSideRequest<REPLY>,REPLY> - org.apache.ratis.util中的类
Client side sliding window.
SlidingWindow.ClientSideRequest<REPLY> - org.apache.ratis.util中的接口
 
SlidingWindow.Request<REPLY> - org.apache.ratis.util中的接口
 
SlidingWindow.RequestMap<REQUEST extends SlidingWindow.Request<REPLY>,REPLY> - org.apache.ratis.util中的类
A seqNum-to-request map, sorted by seqNum.
SlidingWindow.Server<REQUEST extends SlidingWindow.ServerSideRequest<REPLY>,REPLY> - org.apache.ratis.util中的类
Server side sliding window.
SlidingWindow.ServerSideRequest<REPLY> - org.apache.ratis.util中的接口
 
SOLARIS - 类 中的静态变量org.apache.ratis.util.PlatformUtils
 
StaleReadException - org.apache.ratis.protocol.exceptions中的异常错误
This exception indicates the failure of a stale-read.
StaleReadException(String) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.StaleReadException
 
staleReadRequestType(long) - 类 中的静态方法org.apache.ratis.protocol.RaftClientRequest
 
StandardWriteOption - org.apache.ratis.io中的枚举
 
start() - 类 中的方法org.apache.ratis.util.JvmPauseMonitor
Start this monitor.
startAndTransition(CheckedRunnable<T>, Class<? extends Throwable>...) - 类 中的方法org.apache.ratis.util.LifeCycle
Run the given start method and transition the current state accordingly.
STARTING_OR_RUNNING - 类 中的静态变量org.apache.ratis.util.LifeCycle.States
 
StateMachineException - org.apache.ratis.protocol.exceptions中的异常错误
 
StateMachineException(RaftGroupMemberId, Throwable) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.StateMachineException
 
StateMachineException(String) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.StateMachineException
 
StateMachineException(String, Throwable) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.StateMachineException
 
StateMachineException(RaftGroupMemberId, Throwable, boolean) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.StateMachineException
 
StateMachineException(String, boolean) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.StateMachineException
 
StateMachineException(String, Throwable, boolean) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.StateMachineException
 
StaticResolution() - 类 的构造器org.apache.ratis.util.NetUtils.StaticResolution
 
stop() - 类 中的方法org.apache.ratis.util.JvmPauseMonitor
Stop this monitor.
StreamException - org.apache.ratis.protocol.exceptions中的异常错误
A stream is not found in the server.
StreamException(String) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.StreamException
 
string2boolean(String, boolean) - 类 中的静态方法org.apache.ratis.util.StringUtils
 
string2long(String) - 枚举 中的静态方法org.apache.ratis.util.TraditionalBinaryPrefix
Convert a string to long.
stringifyException(Throwable) - 类 中的静态方法org.apache.ratis.util.StringUtils
 
stringSupplierAsObject(Supplier<String>) - 类 中的静态方法org.apache.ratis.util.StringUtils
 
StringUtils - org.apache.ratis.util中的类
 
submit(CheckedSupplier<OUTPUT, THROWABLE>, ExecutorService) - 类 中的方法org.apache.ratis.util.TaskQueue
The same as submit(task, executor, Function.identity());
submit(CheckedSupplier<OUTPUT, THROWABLE>, ExecutorService, Function<Throwable, Throwable>) - 类 中的方法org.apache.ratis.util.TaskQueue
Offer the given task to this queue and then submit the tasks one by one in the queue order for execution.
submitClientRequest(RaftClientRequest) - 接口 中的方法org.apache.ratis.protocol.RaftClientProtocol
 
submitClientRequestAsync(RaftClientRequest) - 接口 中的方法org.apache.ratis.protocol.RaftClientAsynchronousProtocol
 
submitNewRequest(LongFunction<REQUEST>, Consumer<REQUEST>) - 类 中的方法org.apache.ratis.util.SlidingWindow.Client
A new request arrives, create it with SlidingWindow.Client.nextSeqNum and then try sending it to the server.
subtract(TimeDuration) - 类 中的方法org.apache.ratis.util.TimeDuration
 
supplyAndLog(Logger, CheckedSupplier<OUTPUT, THROWABLE>, Supplier<String>) - 接口 中的静态方法org.apache.ratis.util.LogUtils
 
supplyAndWrapAsCompletionException(CheckedSupplier<OUTPUT, THROWABLE>) - 接口 中的静态方法org.apache.ratis.util.JavaUtils
 
SupportedDataStreamType - org.apache.ratis.datastream中的枚举
 
SupportedRpcType - org.apache.ratis.rpc中的枚举
The RPC types supported.

T

TaskQueue - org.apache.ratis.util中的类
A queue with execution order guarantee such that each task is submitted for execution only if it becomes the head of the queue.
TaskQueue(String) - 类 的构造器org.apache.ratis.util.TaskQueue
 
terminate(int, String, Throwable, boolean, Logger) - 接口 中的静态方法org.apache.ratis.util.ExitUtils
 
terminate(int, String, Throwable, Logger) - 接口 中的静态方法org.apache.ratis.util.ExitUtils
 
terminate(int, String, Logger) - 接口 中的静态方法org.apache.ratis.util.ExitUtils
 
TimeDuration - org.apache.ratis.util中的类
Time duration is represented by a long together with a TimeUnit.
TimeDuration.Abbreviation - org.apache.ratis.util中的枚举
Abbreviations of TimeUnit.
TimeoutIOException - org.apache.ratis.protocol.exceptions中的异常错误
Timeout has occurred for a blocking I/O.
TimeoutIOException(String) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.TimeoutIOException
 
TimeoutIOException(String, Throwable) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.TimeoutIOException
 
TimeoutScheduler - org.apache.ratis.util中的类
 
Timestamp - org.apache.ratis.util中的类
Use System.nanoTime() as timestamps.
TMP_EXTENSION - 类 中的静态变量org.apache.ratis.util.AtomicFileOutputStream
 
to(TimeUnit) - 类 中的方法org.apache.ratis.util.TimeDuration
 
toByteString() - 类 中的方法org.apache.ratis.protocol.RaftId
 
toByteString() - 类 中的方法org.apache.ratis.protocol.RaftPeerId
 
toByteString(String) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toByteString(byte[]) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toByteString(byte[], int, int) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toCommitInfoProto(RaftPeer, long) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toInterruptedIOException(String, InterruptedException) - 接口 中的静态方法org.apache.ratis.util.IOUtils
 
toIntExact(TimeUnit) - 类 中的方法org.apache.ratis.util.TimeDuration
The same as Math.toIntExact(toLong(targetUnit)); Similar to TimeDuration.toLong(TimeUnit), the returned value may be truncated.
toIOException(ExecutionException) - 接口 中的静态方法org.apache.ratis.util.IOUtils
 
toIOException(ServiceException) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toLong(TimeUnit) - 类 中的方法org.apache.ratis.util.TimeDuration
Convert this TimeDuration to a long in the target unit.
toLong(long) - 枚举 中的方法org.apache.ratis.util.TraditionalBinaryPrefix
 
toObject(ByteString) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toProto() - 接口 中的方法org.apache.ratis.protocol.RoutingTable
 
toRaftGroup(RaftProtos.RaftGroupProto) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toRaftGroupId(RaftProtos.RaftGroupIdProto) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toRaftGroupIdProtoBuilder(RaftGroupId) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toRaftGroupMemberId(ByteString, RaftProtos.RaftGroupIdProto) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toRaftGroupMemberId(RaftProtos.RaftGroupMemberIdProto) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toRaftGroupMemberIdProtoBuilder(RaftGroupMemberId) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toRaftGroupProtoBuilder(RaftGroup) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toRaftPeer(RaftProtos.RaftPeerProto) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toRaftPeerId(RaftProtos.RaftPeerIdProto) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toRaftPeerIdProtos(Collection<RaftPeerId>) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toRaftPeerIds(List<RaftProtos.RaftPeerIdProto>) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toRaftPeerProtos(Collection<RaftPeer>) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toRaftPeers(List<RaftProtos.RaftPeerProto>) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toRouteProtos(Map<RaftPeerId, Set<RaftPeerId>>) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toSlidingWindowEntry(long, boolean) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toString() - 类 中的方法org.apache.ratis.conf.RaftProperties
 
toString() - 类 中的方法org.apache.ratis.datastream.impl.DataStreamPacketImpl
 
toString() - 类 中的方法org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer
 
toString() - 类 中的方法org.apache.ratis.io.MD5Hash
Returns a string representation of this object.
toString() - 类 中的方法org.apache.ratis.protocol.ClientInvocationId
 
toString() - 类 中的方法org.apache.ratis.protocol.GroupManagementRequest.Add
 
toString() - 类 中的方法org.apache.ratis.protocol.GroupManagementRequest.Remove
 
toString() - 类 中的方法org.apache.ratis.protocol.GroupManagementRequest
 
toString() - 类 中的方法org.apache.ratis.protocol.RaftClientMessage
 
toString() - 类 中的方法org.apache.ratis.protocol.RaftClientReply
 
toString() - 类 中的方法org.apache.ratis.protocol.RaftClientRequest
 
toString(RaftProtos.ReplicationLevel) - 类 中的静态方法org.apache.ratis.protocol.RaftClientRequest.Type
 
toString(RaftProtos.WatchRequestTypeProto) - 类 中的静态方法org.apache.ratis.protocol.RaftClientRequest.Type
 
toString(RaftProtos.MessageStreamRequestTypeProto) - 类 中的静态方法org.apache.ratis.protocol.RaftClientRequest.Type
 
toString() - 类 中的方法org.apache.ratis.protocol.RaftClientRequest.Type
 
toString() - 类 中的方法org.apache.ratis.protocol.RaftGroup
 
toString() - 类 中的方法org.apache.ratis.protocol.RaftGroupMemberId
 
toString() - 类 中的方法org.apache.ratis.protocol.RaftId
 
toString() - 类 中的方法org.apache.ratis.protocol.RaftPeer
 
toString() - 类 中的方法org.apache.ratis.protocol.RaftPeerId
 
toString() - 类 中的方法org.apache.ratis.protocol.SetConfigurationRequest
 
toString() - 类 中的方法org.apache.ratis.retry.MultipleLinearRandomRetry
 
toString() - 类 中的方法org.apache.ratis.retry.RetryPolicies.NoRetry
 
toString() - 类 中的方法org.apache.ratis.retry.RetryPolicies.RetryForeverNoSleep
 
toString() - 类 中的方法org.apache.ratis.retry.RetryPolicies.RetryForeverWithSleep
 
toString() - 类 中的方法org.apache.ratis.retry.RetryPolicies.RetryLimited
 
toString() - 类 中的方法org.apache.ratis.util.JvmPauseMonitor
 
toString() - 类 中的方法org.apache.ratis.util.LifeCycle
 
toString() - 类 中的方法org.apache.ratis.util.OpenCloseState
 
toString(RaftProtos.CommitInfoProto) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toString(Collection<RaftProtos.CommitInfoProto>) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toString(RaftProtos.SlidingWindowEntry) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toString(RaftProtos.RaftRpcRequestProto) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toString(RaftProtos.RaftRpcReplyProto) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toString() - 类 中的方法org.apache.ratis.util.ResourceSemaphore.Group
 
toString() - 类 中的方法org.apache.ratis.util.ResourceSemaphore
 
toString() - 类 中的方法org.apache.ratis.util.SizeInBytes
 
toString() - 类 中的方法org.apache.ratis.util.SlidingWindow.Client
 
toString() - 类 中的方法org.apache.ratis.util.SlidingWindow.RequestMap
 
toString() - 类 中的方法org.apache.ratis.util.SlidingWindow.Server
 
toString() - 类 中的方法org.apache.ratis.util.TaskQueue
 
toString() - 类 中的方法org.apache.ratis.util.TimeDuration
 
toString() - 类 中的方法org.apache.ratis.util.Timestamp
 
toString(long) - 枚举 中的方法org.apache.ratis.util.TraditionalBinaryPrefix
 
toThrowable(RaftProtos.ThrowableProto, Class<T>) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toThrowableProto(Throwable) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
toWriteRequest(RaftClientRequest, Message) - 类 中的静态方法org.apache.ratis.protocol.RaftClientRequest
Convert the given request to a write request with the given message.
TraditionalBinaryPrefix - org.apache.ratis.util中的枚举
The traditional binary prefixes, kilo, mega, ..., exa, which can be represented by a 64-bit integer.
transferLeadership(TransferLeadershipRequest) - 接口 中的方法org.apache.ratis.protocol.AdminProtocol
 
transferLeadershipAsync(TransferLeadershipRequest) - 接口 中的方法org.apache.ratis.protocol.AdminAsynchronousProtocol
 
TransferLeadershipException - org.apache.ratis.protocol.exceptions中的异常错误
 
TransferLeadershipException(String) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.TransferLeadershipException
 
TransferLeadershipException(String, Throwable) - 异常错误 的构造器org.apache.ratis.protocol.exceptions.TransferLeadershipException
 
TransferLeadershipRequest - org.apache.ratis.protocol中的类
 
TransferLeadershipRequest(ClientId, RaftPeerId, RaftGroupId, long, RaftPeerId, long) - 类 的构造器org.apache.ratis.protocol.TransferLeadershipRequest
 
transition(LifeCycle.State) - 类 中的方法org.apache.ratis.util.LifeCycle
Transition from the current state to the given state.
transition(UnaryOperator<LifeCycle.State>) - 类 中的方法org.apache.ratis.util.LifeCycle
Transition using the given operator.
transitionAndGet(UnaryOperator<LifeCycle.State>) - 类 中的方法org.apache.ratis.util.LifeCycle
Transition using the given operator.
transitionIfNotEqual(LifeCycle.State) - 类 中的方法org.apache.ratis.util.LifeCycle
Transition from the current state to the given state if the current state is not equal to the given state.
transitionIfValid(LifeCycle.State) - 类 中的方法org.apache.ratis.util.LifeCycle
Transition from the current state to the given state only if the transition is valid.
TriConsumer<T,U,V> - org.apache.ratis.util.function中的接口
Consumer with three input parameters.
truncateFile(File, long) - 接口 中的静态方法org.apache.ratis.util.FileUtils
 
tryAcquire(int...) - 类 中的方法org.apache.ratis.util.ResourceSemaphore.Group
 
type(RaftProperties, Consumer<String>) - 接口 中的静态方法org.apache.ratis.RaftConfigKeys.DataStream
 
type(RaftProperties, Consumer<String>) - 接口 中的静态方法org.apache.ratis.RaftConfigKeys.Rpc
 
TYPE_DEFAULT - 接口 中的静态变量org.apache.ratis.RaftConfigKeys.DataStream
 
TYPE_DEFAULT - 接口 中的静态变量org.apache.ratis.RaftConfigKeys.Rpc
 
TYPE_KEY - 接口 中的静态变量org.apache.ratis.RaftConfigKeys.DataStream
 
TYPE_KEY - 接口 中的静态变量org.apache.ratis.RaftConfigKeys.Rpc
 

U

UncheckedAutoCloseable - org.apache.ratis.util中的接口
The same as AutoCloseable except that the close method does not throw Exception.
unit() - 枚举 中的方法org.apache.ratis.util.TimeDuration.Abbreviation
 
unregister() - 类 中的方法org.apache.ratis.util.JmxRegister
Un-register the previously registered mBean.
unset(String) - 类 中的方法org.apache.ratis.conf.RaftProperties
Unset a previously set property.
unwrapCompletionException(Throwable) - 接口 中的静态方法org.apache.ratis.util.JavaUtils
 
update(byte[], int, int) - 类 中的方法org.apache.ratis.util.PureJavaCrc32C
 
update(int) - 类 中的方法org.apache.ratis.util.PureJavaCrc32C
 
updateAndGet(AtomicReference<E>, CheckedFunction<E, E, THROWABLE>) - 接口 中的静态方法org.apache.ratis.util.AtomicUtils
Similar to AtomicReference.updateAndGet(java.util.function.UnaryOperator) except that the update function is checked.
updateMax(AtomicLong, long) - 接口 中的静态方法org.apache.ratis.util.AtomicUtils
Updates a AtomicLong which is supposed to maintain the maximum values.
updateMin(AtomicLong, long) - 接口 中的静态方法org.apache.ratis.util.AtomicUtils
Updates a AtomicLong which is supposed to maintain the minimum values.
used() - 类 中的方法org.apache.ratis.util.ResourceSemaphore
 

V

valueOf(String) - 接口 中的静态方法org.apache.ratis.datastream.DataStreamType
Parse the given string as a SupportedDataStreamType or a user-defined DataStreamType.
valueOf(String) - 枚举 中的静态方法org.apache.ratis.datastream.SupportedDataStreamType
返回带有指定名称的该类型的枚举常量。
valueOf(File, long, long) - 类 中的静态方法org.apache.ratis.io.FilePositionCount
 
valueOf(String) - 枚举 中的静态方法org.apache.ratis.io.StandardWriteOption
返回带有指定名称的该类型的枚举常量。
valueOf(ByteString) - 类 中的静态方法org.apache.ratis.protocol.ClientId
 
valueOf(UUID) - 类 中的静态方法org.apache.ratis.protocol.ClientId
 
valueOf(ClientId, long) - 类 中的静态方法org.apache.ratis.protocol.ClientInvocationId
 
valueOf(RaftClientMessage) - 类 中的静态方法org.apache.ratis.protocol.ClientInvocationId
 
valueOf(RaftProtos.StateMachineLogEntryProto) - 类 中的静态方法org.apache.ratis.protocol.ClientInvocationId
 
valueOf(ByteString, Supplier<String>) - 接口 中的静态方法org.apache.ratis.protocol.Message
 
valueOf(ByteString) - 接口 中的静态方法org.apache.ratis.protocol.Message
 
valueOf(String) - 接口 中的静态方法org.apache.ratis.protocol.Message
 
valueOf(RaftProtos.WriteRequestTypeProto) - 类 中的静态方法org.apache.ratis.protocol.RaftClientRequest.Type
 
valueOf(RaftProtos.DataStreamRequestTypeProto) - 类 中的静态方法org.apache.ratis.protocol.RaftClientRequest.Type
 
valueOf(RaftProtos.ForwardRequestTypeProto) - 类 中的静态方法org.apache.ratis.protocol.RaftClientRequest.Type
 
valueOf(RaftProtos.ReadRequestTypeProto) - 类 中的静态方法org.apache.ratis.protocol.RaftClientRequest.Type
 
valueOf(RaftProtos.StaleReadRequestTypeProto) - 类 中的静态方法org.apache.ratis.protocol.RaftClientRequest.Type
 
valueOf(RaftProtos.WatchRequestTypeProto) - 类 中的静态方法org.apache.ratis.protocol.RaftClientRequest.Type
 
valueOf(RaftProtos.MessageStreamRequestTypeProto) - 类 中的静态方法org.apache.ratis.protocol.RaftClientRequest.Type
 
valueOf(RaftGroupId, RaftPeer...) - 类 中的静态方法org.apache.ratis.protocol.RaftGroup
 
valueOf(RaftGroupId, Collection<RaftPeer>) - 类 中的静态方法org.apache.ratis.protocol.RaftGroup
 
valueOf(UUID) - 类 中的静态方法org.apache.ratis.protocol.RaftGroupId
 
valueOf(ByteString) - 类 中的静态方法org.apache.ratis.protocol.RaftGroupId
 
valueOf(RaftPeerId, RaftGroupId) - 类 中的静态方法org.apache.ratis.protocol.RaftGroupMemberId
 
valueOf(ByteString) - 类 中的静态方法org.apache.ratis.protocol.RaftPeerId
 
valueOf(String) - 类 中的静态方法org.apache.ratis.protocol.RaftPeerId
 
valueOf(String) - 接口 中的静态方法org.apache.ratis.rpc.RpcType
Parse the given string as a SupportedRpcType or a user-defined RpcType.
valueOf(String) - 枚举 中的静态方法org.apache.ratis.rpc.SupportedRpcType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法org.apache.ratis.util.LifeCycle.State
返回带有指定名称的该类型的枚举常量。
valueOf(Supplier<T>) - 类 中的静态方法org.apache.ratis.util.MemoizedSupplier
 
valueOf(String) - 枚举 中的静态方法org.apache.ratis.util.PlatformUtils.OSType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法org.apache.ratis.util.ResourceSemaphore.ResourceAcquireStatus
返回带有指定名称的该类型的枚举常量。
valueOf(long) - 类 中的静态方法org.apache.ratis.util.SizeInBytes
 
valueOf(long, TraditionalBinaryPrefix) - 类 中的静态方法org.apache.ratis.util.SizeInBytes
 
valueOf(String) - 类 中的静态方法org.apache.ratis.util.SizeInBytes
 
valueOf(String) - 枚举 中的静态方法org.apache.ratis.util.TimeDuration.Abbreviation
返回带有指定名称的该类型的枚举常量。
valueOf(TimeUnit) - 枚举 中的静态方法org.apache.ratis.util.TimeDuration.Abbreviation
 
valueOf(String, TimeUnit) - 类 中的静态方法org.apache.ratis.util.TimeDuration
Parse the given time duration string.
valueOf(long, TimeUnit) - 类 中的静态方法org.apache.ratis.util.TimeDuration
 
valueOf(long) - 类 中的静态方法org.apache.ratis.util.Timestamp
 
valueOf(String) - 枚举 中的静态方法org.apache.ratis.util.TraditionalBinaryPrefix
返回带有指定名称的该类型的枚举常量。
valueOf(char) - 枚举 中的静态方法org.apache.ratis.util.TraditionalBinaryPrefix
 
valueOfIgnoreCase(String) - 枚举 中的静态方法org.apache.ratis.datastream.SupportedDataStreamType
 
valueOfIgnoreCase(String) - 枚举 中的静态方法org.apache.ratis.rpc.SupportedRpcType
Same as SupportedRpcType.valueOf(String) except that this method is case insensitive.
values() - 枚举 中的静态方法org.apache.ratis.datastream.SupportedDataStreamType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法org.apache.ratis.io.StandardWriteOption
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法org.apache.ratis.rpc.SupportedRpcType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法org.apache.ratis.util.LifeCycle.State
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法org.apache.ratis.util.PlatformUtils.OSType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法org.apache.ratis.util.ResourceSemaphore.ResourceAcquireStatus
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法org.apache.ratis.util.TimeDuration.Abbreviation
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法org.apache.ratis.util.TraditionalBinaryPrefix
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
verifySavedMD5(File, MD5Hash) - 类 中的静态方法org.apache.ratis.util.MD5FileUtil
Verify that the previously saved md5 for the given file matches expectedMd5.

W

warn(Logger, Supplier<String>, Throwable, Class<?>...) - 接口 中的静态方法org.apache.ratis.util.LogUtils
 
watchRequestType() - 类 中的静态方法org.apache.ratis.protocol.RaftClientRequest
 
watchRequestType(long, RaftProtos.ReplicationLevel) - 类 中的静态方法org.apache.ratis.protocol.RaftClientRequest
 
weakIntern(String) - 类 中的静态方法org.apache.ratis.util.StringUtils
Interns and returns a reference to the representative instance for any of a collection of string instances that are equal to each other.
WINDOWS - 类 中的静态变量org.apache.ratis.util.PlatformUtils
 
write(DataOutput) - 类 中的方法org.apache.ratis.io.MD5Hash
 
writeFully(FileChannel, ByteBuffer, long) - 接口 中的静态方法org.apache.ratis.util.IOUtils
Write a ByteBuffer to a FileChannel at a given offset, handling short writes.
writeLock(StackTraceElement, Consumer<String>) - 类 中的方法org.apache.ratis.util.AutoCloseableReadWriteLock
 
writeObject2ByteString(Object) - 接口 中的静态方法org.apache.ratis.util.ProtoUtils
 
WriteOption - org.apache.ratis.io中的接口
 
writeRequestType() - 类 中的静态方法org.apache.ratis.protocol.RaftClientRequest
 
writeXml(OutputStream) - 类 中的方法org.apache.ratis.conf.RaftProperties
Write out the non-default properties in this configuration to the given OutputStream using UTF-8 encoding.
writeXml(Writer) - 类 中的方法org.apache.ratis.conf.RaftProperties
Write out the non-default properties in this configuration to the given Writer.

Z

ZERO - 类 中的静态变量org.apache.ratis.util.TimeDuration
 
A B C D E F G H I J L M N O P Q R S T U V W Z 
跳过导航链接

Copyright © 2017–2021 The Apache Software Foundation. All rights reserved.