- abort() - Method in class org.apache.ratis.util.AtomicFileOutputStream
-
Close the atomic file, but do not "commit" the temporary file
on top of the destination.
- accept(LEFT, RIGHT) - Method in interface org.apache.ratis.util.function.CheckedBiConsumer
-
- accept(INPUT) - Method in interface org.apache.ratis.util.function.CheckedConsumer
-
- accept(T, U, V) - Method in interface org.apache.ratis.util.function.TriConsumer
-
- accumulate(long) - Method in class org.apache.ratis.util.LongMinMax
-
Update min and max with the given number.
- acquire(Lock) - Static method in class org.apache.ratis.util.AutoCloseableLock
-
- acquire(Lock, Runnable) - Static method in class org.apache.ratis.util.AutoCloseableLock
-
- acquire(int...) - Method in class org.apache.ratis.util.ResourceSemaphore.Group
-
- Add(RaftGroup) - Constructor for class org.apache.ratis.protocol.GroupManagementRequest.Add
-
- add(TimeDuration) - Method in class org.apache.ratis.util.TimeDuration
-
- add(long, TimeUnit) - Method in class org.apache.ratis.util.TimeDuration
-
- addRaftPeers(Collection<RaftPeer>) - Method in interface org.apache.ratis.protocol.RaftPeer.Add
-
Add the given peers.
- addRaftPeers(RaftPeer...) - Method in interface org.apache.ratis.protocol.RaftPeer.Add
-
Add the given peers.
- addRaftPeers(Collection<RaftPeer>) - Method in class org.apache.ratis.util.PeerProxyMap
-
- address2String(InetSocketAddress) - Static method in interface org.apache.ratis.util.NetUtils
-
- addSuccessor(RaftPeerId, RaftPeerId) - Method in class org.apache.ratis.protocol.RoutingTable.Builder
-
- addSuccessors(RaftPeerId, Collection<RaftPeerId>) - Method in class org.apache.ratis.protocol.RoutingTable.Builder
-
- addSuccessors(RaftPeerId, RaftPeerId...) - Method in class org.apache.ratis.protocol.RoutingTable.Builder
-
- addTime(TimeDuration) - Method in class org.apache.ratis.util.Timestamp
-
- addTimeMs(long) - Method in class org.apache.ratis.util.Timestamp
-
- AdminAsynchronousProtocol - Interface in org.apache.ratis.protocol
-
- AdminProtocol - Interface in org.apache.ratis.protocol
-
For server administration.
- allOf(Collection<CompletableFuture<T>>) - Static method in interface org.apache.ratis.util.JavaUtils
-
- AlreadyClosedException - Exception in org.apache.ratis.protocol.exceptions
-
The corresponding object is already closed.
- AlreadyClosedException(String) - Constructor for exception org.apache.ratis.protocol.exceptions.AlreadyClosedException
-
- AlreadyClosedException(String, Throwable) - Constructor for exception org.apache.ratis.protocol.exceptions.AlreadyClosedException
-
- AlreadyExistsException - Exception in 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) - Constructor for exception org.apache.ratis.protocol.exceptions.AlreadyExistsException
-
- AlreadyExistsException(Throwable) - Constructor for exception org.apache.ratis.protocol.exceptions.AlreadyExistsException
-
- append(StringBuilder, Field) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- apply(LEFT, RIGHT) - Method in interface org.apache.ratis.util.function.CheckedBiFunction
-
- apply(INPUT) - Method in interface org.apache.ratis.util.function.CheckedFunction
-
- apply(INPUT, TimeDuration) - Method in interface org.apache.ratis.util.function.CheckedFunctionWithTimeout
-
- apply(LongUnaryOperator) - Method in class org.apache.ratis.util.TimeDuration
-
Apply the given operator to the duration value of this object.
- apply(CheckedBiFunction<Long, TimeUnit, OUTPUT, THROWABLE>) - Method in class org.apache.ratis.util.TimeDuration
-
Apply the given function to the (duration, unit) of this object.
- as(Iterable<INPUT>, Function<INPUT, OUTPUT>) - Static method in interface org.apache.ratis.util.CollectionUtils
-
- as(INPUT[], Function<INPUT, OUTPUT>) - Static method in interface org.apache.ratis.util.CollectionUtils
-
- asBiConsumer(CompletableFuture<V>) - Static method in interface org.apache.ratis.util.JavaUtils
-
- asCheckedFunction(CheckedConsumer<INPUT, THROWABLE>) - Static method in interface org.apache.ratis.util.function.CheckedConsumer
-
- asCheckedSupplier(CheckedRunnable<THROWABLE>) - Static method in interface org.apache.ratis.util.function.CheckedRunnable
-
- asIOException(Throwable) - Static method in interface org.apache.ratis.util.IOUtils
-
- assertCurrentState(Set<LifeCycle.State>) - Method in class 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>) - Method in class org.apache.ratis.util.LifeCycle
-
Assert if the current state equals to one of the expected states.
- assertInstanceOf(Object, Class<T>) - Static method in interface org.apache.ratis.util.Preconditions
-
- assertKey(String, int, Object, Class<?>) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- assertNotNull(T, Supplier<String>) - Static method in interface org.apache.ratis.util.Preconditions
-
- assertNotNull(T, String) - Static method in interface org.apache.ratis.util.Preconditions
-
- assertNotTerminated() - Static method in interface org.apache.ratis.util.ExitUtils
-
- assertNull(Object, Supplier<String>) - Static method in interface org.apache.ratis.util.Preconditions
-
- assertNull(Object, String) - Static method in interface org.apache.ratis.util.Preconditions
-
- assertOpen() - Method in class org.apache.ratis.util.OpenCloseState
-
Assert this is open.
- assertSame(long, long, String) - Static method in interface org.apache.ratis.util.Preconditions
-
- assertTrue(boolean) - Static method in interface org.apache.ratis.util.Preconditions
-
Assert if the given value is true.
- assertTrue(boolean, Object) - Static method in interface org.apache.ratis.util.Preconditions
-
Assert if the given value is true.
- assertTrue(boolean, String, Object...) - Static method in interface org.apache.ratis.util.Preconditions
-
Assert if the given value is true.
- assertTrue(boolean, Supplier<Object>) - Static method in interface org.apache.ratis.util.Preconditions
-
Assert if the given value is true.
- assertUnique(Iterable<T>) - Static method in interface org.apache.ratis.util.Preconditions
-
- assertUnique(Iterable<T>, Iterable<T>) - Static method in interface org.apache.ratis.util.Preconditions
-
- AtomicFileOutputStream - Class in org.apache.ratis.util
-
- AtomicFileOutputStream(File) - Constructor for class org.apache.ratis.util.AtomicFileOutputStream
-
- AtomicFileOutputStream(File, File) - Constructor for class org.apache.ratis.util.AtomicFileOutputStream
-
- attempt(CheckedSupplier<T, IOException>, Supplier<?>) - Static method in interface org.apache.ratis.util.FileUtils
-
- attempt(CheckedSupplier<RETURN, THROWABLE>, int, TimeDuration, Supplier<?>, Logger) - Static method in interface org.apache.ratis.util.JavaUtils
-
Attempt to get a return value from the given supplier multiple times.
- attempt(CheckedRunnable<THROWABLE>, int, TimeDuration, String, Logger) - Static method in interface org.apache.ratis.util.JavaUtils
-
Attempt to run the given op multiple times.
- attemptRepeatedly(CheckedSupplier<RETURN, THROWABLE>, int, TimeDuration, String, Logger) - Static method in interface org.apache.ratis.util.JavaUtils
-
Attempt to get a return value from the given supplier multiple times.
- attemptUntilTrue(BooleanSupplier, int, TimeDuration, String, Logger) - Static method in interface org.apache.ratis.util.JavaUtils
-
Attempt to wait the given condition to return true multiple times.
- AutoCloseableLock - Class in org.apache.ratis.util
-
- AutoCloseableReadWriteLock - Class in org.apache.ratis.util
-
- AutoCloseableReadWriteLock(Object) - Constructor for class org.apache.ratis.util.AutoCloseableReadWriteLock
-
- await() - Method in class org.apache.ratis.util.AwaitForSignal
-
- await(long, TimeUnit) - Method in class org.apache.ratis.util.AwaitForSignal
-
- AwaitForSignal - Class in org.apache.ratis.util
-
This class is a partial implementation of
Condition.
- AwaitForSignal(Object) - Constructor for class org.apache.ratis.util.AwaitForSignal
-
- callAsUnchecked(Callable<T>) - Static method in interface org.apache.ratis.util.JavaUtils
-
- callAsUnchecked(CheckedSupplier<OUTPUT, THROWABLE>, Function<THROWABLE, ? extends RuntimeException>) - Static method in interface org.apache.ratis.util.JavaUtils
-
- CallId - Class in org.apache.ratis.rpc
-
A long ID for RPC calls.
- cast(Object, Class<T>) - Static method in interface org.apache.ratis.util.JavaUtils
-
- cast(Object) - Static method in interface org.apache.ratis.util.JavaUtils
-
- CertificatesConf(Iterable<X509Certificate>) - Constructor for class org.apache.ratis.security.TlsConf.CertificatesConf
-
- CertificatesConf(X509Certificate...) - Constructor for class org.apache.ratis.security.TlsConf.CertificatesConf
-
- CertificatesConf(File) - Constructor for class org.apache.ratis.security.TlsConf.CertificatesConf
-
- CheckedBiConsumer<LEFT,RIGHT,THROWABLE extends Throwable> - Interface in org.apache.ratis.util.function
-
BiConsumer with a throws-clause.
- CheckedBiFunction<LEFT,RIGHT,OUTPUT,THROWABLE extends Throwable> - Interface in org.apache.ratis.util.function
-
BiFunction with a throws-clause.
- CheckedConsumer<INPUT,THROWABLE extends Throwable> - Interface in org.apache.ratis.util.function
-
Consumer with a throws-clause.
- CheckedFunction<INPUT,OUTPUT,THROWABLE extends Throwable> - Interface in org.apache.ratis.util.function
-
Function with a throws-clause.
- CheckedFunctionWithTimeout<INPUT,OUTPUT,THROWABLE extends Throwable> - Interface in org.apache.ratis.util.function
-
Function with a timeout and a throws-clause.
- CheckedRunnable<THROWABLE extends Throwable> - Interface in org.apache.ratis.util.function
-
Runnable with a throws-clause.
- CheckedSupplier<OUTPUT,THROWABLE extends Throwable> - Interface in org.apache.ratis.util.function
-
Supplier with a throws-clause.
- checkStateAndClose() - Method in class org.apache.ratis.util.LifeCycle
-
- checkStateAndClose(CheckedRunnable<T>) - Method in class org.apache.ratis.util.LifeCycle
-
Check the current state and, if applicable, run the given close method.
- ChecksumException - Exception in org.apache.ratis.protocol.exceptions
-
Thrown for checksum errors.
- ChecksumException(String, long) - Constructor for exception org.apache.ratis.protocol.exceptions.ChecksumException
-
- CLASS_SIMPLE_NAMES - Static variable in interface org.apache.ratis.util.JavaUtils
-
- Classes() - Constructor for class org.apache.ratis.util.ReflectionUtils.Classes
-
- cleanup(Logger, Closeable...) - Static method in interface org.apache.ratis.util.IOUtils
-
Close the Closeable objects and
ignore any
Throwable or
null pointers.
- clear() - Method in class org.apache.ratis.conf.RaftProperties
-
Clears all keys from the configuration.
- clear() - Method in class org.apache.ratis.util.DataBlockingQueue
-
- clear() - Method in class org.apache.ratis.util.DataQueue
-
- clear() - Static method in interface org.apache.ratis.util.ExitUtils
-
Clear all previous terminate(..) calls, if there are any.
- Client(Object) - Constructor for class org.apache.ratis.util.SlidingWindow.Client
-
- ClientId - Class in org.apache.ratis.protocol
-
Id of Raft client.
- ClientInvocationId - Class in org.apache.ratis.protocol
-
The id of a client invocation.
- close() - Method in interface org.apache.ratis.io.CloseAsync
-
- close() - Method in class org.apache.ratis.util.AtomicFileOutputStream
-
- close() - Method in class org.apache.ratis.util.AutoCloseableLock
-
Unlock the underlying lock.
- close() - Method in class org.apache.ratis.util.OpenCloseState
-
Transit to close state.
- close() - Method in class org.apache.ratis.util.PeerProxyMap
-
- close() - Method in class org.apache.ratis.util.ResourceSemaphore
-
Close the resource.
- close() - Method in class org.apache.ratis.util.ResourceSemaphore.Group
-
- close() - Method in class org.apache.ratis.util.SlidingWindow.Server
-
- close() - Method in class org.apache.ratis.util.TimeoutScheduler
-
- close() - Method in interface org.apache.ratis.util.UncheckedAutoCloseable
-
- CloseAsync<REPLY> - Interface in org.apache.ratis.io
-
- closeAsync() - Method in interface org.apache.ratis.io.CloseAsync
-
Close asynchronously.
- CLOSING_OR_CLOSED - Static variable in class org.apache.ratis.util.LifeCycle.States
-
- CLOSING_OR_CLOSED_OR_EXCEPTION - Static variable in class org.apache.ratis.util.LifeCycle.States
-
- CodeInjectionForTesting - Class in org.apache.ratis.util
-
Inject code for testing.
- CodeInjectionForTesting.Code - Interface in org.apache.ratis.util
-
Code to be injected.
- CollectionUtils - Interface in org.apache.ratis.util
-
- combine(LongMinMax) - Method in class org.apache.ratis.util.LongMinMax
-
Combine that to this.
- compareAndTransition(LifeCycle.State, LifeCycle.State) - Method in class 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) - Method in class org.apache.ratis.util.TimeDuration
-
- compareTo(Timestamp) - Method in class org.apache.ratis.util.Timestamp
-
Compare two timestamps, t0 (this) and t1 (that).
- completableFuture2String(CompletableFuture<?>, boolean) - Static method in class org.apache.ratis.util.StringUtils
-
- completeExceptionally(Throwable) - Static method in interface org.apache.ratis.util.JavaUtils
-
- computeIfAbsent(ConcurrentMap<K, V>, K, Supplier<V>, Runnable) - Static method in interface org.apache.ratis.util.CollectionUtils
-
- computeIfAbsent(ConcurrentMap<K, V>, K, Supplier<V>) - Static method in interface org.apache.ratis.util.CollectionUtils
-
- computeIfAbsent(RaftPeer) - Method in class org.apache.ratis.util.PeerProxyMap
-
- computeMd5ForFile(File) - Static method in class org.apache.ratis.util.MD5FileUtil
-
Read dataFile and compute its MD5 checksum.
- ConcurrentUtils - Interface in org.apache.ratis.util
-
Utilities related to concurrent programming.
- ConfUtils - Interface in org.apache.ratis.conf
-
- Constants() - Constructor for class org.apache.ratis.retry.RetryPolicies.Constants
-
- consumerAsNullFunction(Consumer<INPUT>) - Static method in interface 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) - Static method in interface org.apache.ratis.io.WriteOption
-
- CorruptedFileException - Exception in org.apache.ratis.io
-
- CorruptedFileException(File, String) - Constructor for exception org.apache.ratis.io.CorruptedFileException
-
- Create() - Constructor for class org.apache.ratis.protocol.SnapshotManagementRequest.Create
-
- createDirectories(File) - Static method in interface org.apache.ratis.util.FileUtils
-
- createDirectories(Path) - Static method in interface org.apache.ratis.util.FileUtils
-
- createLocalServerAddress(int) - Static method in interface org.apache.ratis.util.NetUtils
-
Creates count unique local addresses.
- createLocalServerAddress() - Static method in interface org.apache.ratis.util.NetUtils
-
Creates a unique local address.
- createNewFile(Path) - Static method in interface org.apache.ratis.util.FileUtils
-
- createProxyImpl(RaftPeer) - Method in class org.apache.ratis.util.PeerProxyMap
-
- createSocketAddr(String) - Static method in interface org.apache.ratis.util.NetUtils
-
The same as createSocketAddr(target, -1).
- createSocketAddr(String, int) - Static method in interface org.apache.ratis.util.NetUtils
-
Create an InetSocketAddress from the given target and default port.
- createSocketAddrForHost(String, int) - Static method in interface org.apache.ratis.util.NetUtils
-
Create a socket address with the given host and port.
- currentDateTime() - Static method in class org.apache.ratis.util.StringUtils
-
- currentTime() - Static method in class org.apache.ratis.util.Timestamp
-
- currentTimeNanos() - Static method in class org.apache.ratis.util.Timestamp
-
- get(BiFunction<String, T, T>, String, T, Consumer<String>, BiConsumer<String, T>...) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- get(String, Class<T>) - Method in class org.apache.ratis.conf.Parameters
-
- get(String) - Method in class org.apache.ratis.conf.RaftProperties
-
Get the value of the name property, null if
no such property exists.
- get(String, String) - Method in class org.apache.ratis.conf.RaftProperties
-
Get the value of the name.
- get() - Static method in class org.apache.ratis.rpc.CallId
-
- get() - Method in interface org.apache.ratis.util.function.CheckedSupplier
-
The same as
Supplier.get()
except that this method is declared with a throws-clause.
- get() - Method in class org.apache.ratis.util.MemoizedSupplier
-
- get(String) - Static method in class org.apache.ratis.util.NetUtils.StaticResolution
-
- get() - Method in interface org.apache.ratis.util.ReferenceCountedObject
-
- get(int) - Method in class org.apache.ratis.util.ResourceSemaphore.Group
-
- getAdd() - Method in class org.apache.ratis.protocol.GroupManagementRequest
-
- getAddress() - Method in class org.apache.ratis.protocol.RaftPeer
-
- getAdminAddress() - Method in class org.apache.ratis.protocol.RaftPeer
-
- getAlreadyClosedException() - Method in class org.apache.ratis.protocol.RaftClientReply
-
- getAndIncrement() - Static method in class org.apache.ratis.rpc.CallId
-
- getAttemptCount() - Method in exception org.apache.ratis.protocol.exceptions.RaftRetryFailureException
-
- getAttemptCount() - Method in interface org.apache.ratis.retry.RetryPolicy.Event
-
- getBoolean(BiFunction<String, Boolean, Boolean>, String, boolean, Consumer<String>, BiConsumer<String, Boolean>...) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- getBoolean(String, boolean) - Method in class org.apache.ratis.conf.RaftProperties
-
Get the value of the name property as a boolean.
- getByteLimit() - Method in class org.apache.ratis.util.DataQueue
-
- getBytesWritten() - Method in class org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer
-
- getBytesWritten() - Method in interface org.apache.ratis.protocol.DataStreamReply
-
- getBytesWritten() - Method in class org.apache.ratis.protocol.DataStreamReplyHeader
-
- getCallerStackTraceElement() - Static method in interface org.apache.ratis.util.JavaUtils
-
- getCallId() - Method in exception org.apache.ratis.protocol.exceptions.NotReplicatedException
-
- getCallId() - Method in class org.apache.ratis.protocol.RaftClientMessage
-
- getCause() - Method in interface org.apache.ratis.retry.RetryPolicy.Event
-
- getCauseCount() - Method in interface org.apache.ratis.retry.RetryPolicy.Event
-
- getClass(String, Class<?>) - Method in class org.apache.ratis.conf.RaftProperties
-
Get the value of the name property as a Class.
- getClass(String, Class<? extends BASE>, Class<BASE>) - Method in class 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>) - Static method in interface org.apache.ratis.util.ReflectionUtils
-
- getClassByName(String) - Static method in interface org.apache.ratis.util.ReflectionUtils
-
Load a class by name.
- getClassByName(String, ClassLoader) - Static method in interface org.apache.ratis.util.ReflectionUtils
-
Load a class by name through a specific classloader.
- getClassByNameOrNull(String) - Static method in interface org.apache.ratis.util.ReflectionUtils
-
Load a class by name, returning null rather than throwing an exception
if it couldn't be loaded.
- getClassByNameOrNull(String, ClassLoader) - Static method in interface org.apache.ratis.util.ReflectionUtils
-
Load a class by name through a specific classloader, returning null rather
than throwing an exception if it couldn't be loaded.
- getClasses(String, Class<?>...) - Method in class org.apache.ratis.conf.RaftProperties
-
Get the value of the name property
as an array of Class.
- getClassLoader() - Static method in interface org.apache.ratis.util.ReflectionUtils
-
- getClassSimpleName(Class<?>) - Static method in interface org.apache.ratis.util.JavaUtils
-
- getClientAddress() - Method in class org.apache.ratis.protocol.RaftPeer
-
- getClientId() - Method in class org.apache.ratis.datastream.impl.DataStreamPacketImpl
-
- getClientId() - Method in class org.apache.ratis.protocol.ClientInvocationId
-
- getClientId() - Method in interface org.apache.ratis.protocol.DataStreamPacket
-
- getClientId() - Method in class org.apache.ratis.protocol.RaftClientMessage
-
- getCommitInfos() - Method in class org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer
-
- getCommitInfos() - Method in interface org.apache.ratis.protocol.DataStreamReply
-
- getCommitInfos() - Method in class org.apache.ratis.protocol.DataStreamReplyHeader
-
- getCommitInfos() - Method in class org.apache.ratis.protocol.RaftClientReply
-
Get the commit information for the entire group.
- getContent() - Method in interface org.apache.ratis.protocol.Message
-
- getCount() - Method in class org.apache.ratis.io.FilePositionCount
-
- getCreate() - Method in class org.apache.ratis.protocol.SnapshotManagementRequest
-
- getCurrentStackTraceElement() - Static method in interface org.apache.ratis.util.JavaUtils
-
- getCurrentState() - Method in class org.apache.ratis.util.LifeCycle
-
- getDataLength() - Method in class org.apache.ratis.datastream.impl.DataStreamPacketByteBuffer
-
- getDataLength() - Method in class org.apache.ratis.datastream.impl.DataStreamRequestFilePositionCount
-
- getDataLength() - Method in interface org.apache.ratis.protocol.DataStreamPacket
-
- getDataLength() - Method in class org.apache.ratis.protocol.DataStreamPacketHeader
-
- getDataStream() - Method in class org.apache.ratis.protocol.RaftClientRequest.Type
-
- getDataStreamAddress() - Method in class org.apache.ratis.protocol.RaftPeer
-
- getDataStreamException() - Method in class org.apache.ratis.protocol.RaftClientReply
-
- getDataStreamType() - Method in interface org.apache.ratis.datastream.DataStreamType.Get
-
- getDefault() - Static method in class org.apache.ratis.rpc.CallId
-
- getDigest() - Method in class org.apache.ratis.io.MD5Hash
-
Returns the digest bytes.
- getDigester() - Static method in class org.apache.ratis.io.MD5Hash
-
Create a thread local MD5 digester
- getDigestFileForFile(File) - Static method in class org.apache.ratis.util.MD5FileUtil
-
- getDouble(BiFunction<String, Double, Double>, String, double, Consumer<String>, BiConsumer<String, Double>...) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- getDouble(String, double) - Method in class org.apache.ratis.conf.RaftProperties
-
Get the value of the name property as a double.
- getDuration() - Method in class org.apache.ratis.util.TimeDuration
-
- getElementLimit() - Method in class org.apache.ratis.util.DataQueue
-
- getEnum(String, T) - Method in class org.apache.ratis.conf.RaftProperties
-
Return value matching this enumerated type.
- getException() - Method in class org.apache.ratis.protocol.RaftClientReply
-
- getFile(BiFunction<String, File, File>, String, File, Consumer<String>, BiConsumer<String, File>...) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- getFile(String, File) - Method in class org.apache.ratis.conf.RaftProperties
-
- getFile() - Method in class org.apache.ratis.datastream.impl.DataStreamRequestFilePositionCount
-
- getFile() - Method in class org.apache.ratis.io.FilePositionCount
-
- getFiles(BiFunction<String, List<File>, List<File>>, String, List<File>, Consumer<String>, BiConsumer<String, List<File>>...) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- getFiles(String, List<File>) - Method in class org.apache.ratis.conf.RaftProperties
-
Get the value of the name property as a list
of File.
- getFirstExitException() - Static method in interface org.apache.ratis.util.ExitUtils
-
- getForward() - Method in class org.apache.ratis.protocol.RaftClientRequest.Type
-
- getFromFuture(CompletableFuture<T>, Supplier<Object>) - Static method in interface org.apache.ratis.util.IOUtils
-
- getFromFuture(CompletableFuture<T>, Supplier<Object>, TimeDuration) - Static method in interface org.apache.ratis.util.IOUtils
-
- getGroup() - Method in class org.apache.ratis.protocol.GroupInfoReply
-
- getGroup() - Method in class org.apache.ratis.protocol.GroupManagementRequest.Add
-
- getGroupId() - Method in class org.apache.ratis.protocol.GroupManagementRequest.Add
-
- getGroupId() - Method in class org.apache.ratis.protocol.GroupManagementRequest.Op
-
- getGroupId() - Method in class org.apache.ratis.protocol.GroupManagementRequest.Remove
-
- getGroupId() - Method in class org.apache.ratis.protocol.RaftGroup
-
- getGroupId() - Method in class org.apache.ratis.protocol.RaftGroupMemberId
-
- getGroupIds() - Method in class org.apache.ratis.protocol.GroupListReply
-
- getGroupInfo(GroupInfoRequest) - Method in interface org.apache.ratis.protocol.AdminProtocol
-
- getGroupInfoAsync(GroupInfoRequest) - Method in interface org.apache.ratis.protocol.AdminAsynchronousProtocol
-
- getGroupList(GroupListRequest) - Method in interface org.apache.ratis.protocol.AdminProtocol
-
- getGroupListAsync(GroupListRequest) - Method in interface org.apache.ratis.protocol.AdminAsynchronousProtocol
-
- getId() - Method in class org.apache.ratis.protocol.RaftPeer
-
- getImplClass(Class<BASE>) - Static method in interface org.apache.ratis.util.ReflectionUtils
-
- getImplClassName(Class<?>) - Static method in interface org.apache.ratis.util.ReflectionUtils
-
- getInetSocketAddress(BiFunction<String, String, String>, String, String, Consumer<String>) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- getInput() - Method in class org.apache.ratis.util.SizeInBytes
-
- getInstance() - Static method in class org.apache.ratis.util.TimeoutScheduler
-
- getInt(BiFunction<String, Integer, Integer>, String, int, Consumer<String>, BiConsumer<String, Integer>...) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- getInt(String, int) - Method in class org.apache.ratis.conf.RaftProperties
-
Get the value of the name property as an int.
- getKeyCertificates() - Method in class org.apache.ratis.security.TlsConf.KeyManagerConf
-
- getKeyManager() - Method in class org.apache.ratis.security.TlsConf
-
- getLeaderNotReadyException() - Method in class org.apache.ratis.protocol.RaftClientReply
-
- getLeaderSteppingDownException() - Method in class org.apache.ratis.protocol.RaftClientReply
-
- getListenersInNewConf() - Method in class org.apache.ratis.protocol.SetConfigurationRequest
-
- getLogIndex() - Method in exception org.apache.ratis.protocol.exceptions.NotReplicatedException
-
- getLogIndex() - Method in class org.apache.ratis.protocol.RaftClientReply
-
- getLong(BiFunction<String, Long, Long>, String, long, Consumer<String>, BiConsumer<String, Long>...) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- getLong(String, long) - Method in class org.apache.ratis.conf.RaftProperties
-
Get the value of the name property as a long.
- getLongId() - Method in class org.apache.ratis.protocol.ClientInvocationId
-
- getMax() - Method in class org.apache.ratis.util.LongMinMax
-
- getMaxAttempts() - Method in class org.apache.ratis.retry.RetryPolicies.RetryLimited
-
- getMessage() - Method in class org.apache.ratis.protocol.RaftClientReply
-
- getMessage() - Method in class org.apache.ratis.protocol.RaftClientRequest
-
- getMessageStream() - Method in class org.apache.ratis.protocol.RaftClientRequest.Type
-
- getMin() - Method in class org.apache.ratis.util.LongMinMax
-
- getName() - Method in class org.apache.ratis.util.PeerProxyMap
-
- getName(Class<?>, Object) - Static method in interface org.apache.ratis.util.SlidingWindow
-
- getNewLeader() - Method in class org.apache.ratis.protocol.TransferLeadershipRequest
-
- getNonNull(String, Class<T>) - Method in class org.apache.ratis.conf.Parameters
-
- getNotLeaderException() - Method in class org.apache.ratis.protocol.RaftClientReply
-
- getNotReplicatedException() - Method in class org.apache.ratis.protocol.RaftClientReply
-
- getNumBytes() - Method in class org.apache.ratis.util.DataBlockingQueue
-
- getNumBytes() - Method in class org.apache.ratis.util.DataQueue
-
- getNumElements() - Method in class org.apache.ratis.util.DataBlockingQueue
-
- getNumElements() - Method in class org.apache.ratis.util.DataQueue
-
- getPause() - Method in class org.apache.ratis.protocol.LeaderElectionManagementRequest
-
- getPeer(RaftPeerId) - Method in class org.apache.ratis.protocol.RaftGroup
-
- getPeerId() - Method in class org.apache.ratis.protocol.RaftGroupMemberId
-
- getPeers() - Method in exception org.apache.ratis.protocol.exceptions.NotLeaderException
-
- getPeers() - Method in class org.apache.ratis.protocol.RaftGroup
-
- getPeersInNewConf() - Method in class org.apache.ratis.protocol.SetConfigurationRequest
-
- getPos() - Method in exception org.apache.ratis.protocol.exceptions.ChecksumException
-
- getPosition() - Method in class org.apache.ratis.io.FilePositionCount
-
- getPriority() - Method in class org.apache.ratis.protocol.RaftPeer
-
- getPrivateKey() - Method in class org.apache.ratis.security.TlsConf.KeyManagerConf
-
- getProxy(RaftPeerId) - Method in class org.apache.ratis.util.PeerProxyMap
-
- getRaftGroupId() - Method in class org.apache.ratis.protocol.RaftClientMessage
-
- getRaftGroupId() - Method in interface org.apache.ratis.protocol.RaftRpcMessage
-
- getRaftPeerId(String) - Static method in class org.apache.ratis.protocol.RaftPeerId
-
- getRaftPeerIdProto() - Method in class org.apache.ratis.protocol.RaftPeerId
-
- getRaftPeerProto() - Method in class org.apache.ratis.protocol.RaftPeer
-
- getRaw(String) - Method in class 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() - Method in class org.apache.ratis.protocol.RaftClientRequest.Type
-
- getRemove() - Method in class org.apache.ratis.protocol.GroupManagementRequest
-
- getReplierId() - Method in class org.apache.ratis.protocol.RaftClientMessage
-
- getReplierId() - Method in interface org.apache.ratis.protocol.RaftRpcMessage
-
- getRequestorId() - Method in class org.apache.ratis.protocol.RaftClientMessage
-
- getRequestorId() - Method in interface org.apache.ratis.protocol.RaftRpcMessage
-
- getRequiredReplication() - Method in exception org.apache.ratis.protocol.exceptions.NotReplicatedException
-
- getResume() - Method in class org.apache.ratis.protocol.LeaderElectionManagementRequest
-
- getRoleInfoProto() - Method in class org.apache.ratis.protocol.GroupInfoReply
-
- getRootThreadGroup() - Static method in interface org.apache.ratis.util.JavaUtils
-
- getRoutingTable() - Method in class org.apache.ratis.protocol.RaftClientRequest
-
- getRpcType() - Method in interface org.apache.ratis.rpc.RpcType.Get
-
- getSeqNum() - Method in interface org.apache.ratis.util.SlidingWindow.Request
-
- getServerId() - Method in exception org.apache.ratis.protocol.exceptions.LeaderNotReadyException
-
- getServerId() - Method in class org.apache.ratis.protocol.RaftClientMessage
-
- getSize(Message) - Static method in interface org.apache.ratis.protocol.Message
-
- getSize() - Method in class org.apache.ratis.util.SizeInBytes
-
- getSizeInBytes(BiFunction<String, SizeInBytes, SizeInBytes>, String, SizeInBytes, Consumer<String>, BiConsumer<String, SizeInBytes>...) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- getSizeInBytes(String, SizeInBytes) - Method in class org.apache.ratis.conf.RaftProperties
-
- getSizeInt() - Method in class org.apache.ratis.util.SizeInBytes
-
- getSizeOfHeaderBodyLen() - Static method in class org.apache.ratis.protocol.DataStreamPacketHeader
-
- getSizeOfHeaderLen() - Static method in class org.apache.ratis.protocol.DataStreamPacketHeader
-
- getSleepTime() - Method in interface org.apache.ratis.retry.RetryPolicy.Action
-
- getSlidingWindowEntry() - Method in class org.apache.ratis.protocol.RaftClientRequest
-
- getStaleRead() - Method in class org.apache.ratis.protocol.RaftClientRequest.Type
-
- getStateMachineException() - Method in class org.apache.ratis.protocol.RaftClientReply
-
- getStatus() - Method in exception org.apache.ratis.util.ExitUtils.ExitException
-
- getStreamId() - Method in class org.apache.ratis.datastream.impl.DataStreamPacketImpl
-
- getStreamId() - Method in interface org.apache.ratis.protocol.DataStreamPacket
-
- getStreamOffset() - Method in class org.apache.ratis.datastream.impl.DataStreamPacketImpl
-
- getStreamOffset() - Method in interface org.apache.ratis.protocol.DataStreamPacket
-
- getSuccessors(RaftPeerId) - Method in interface org.apache.ratis.protocol.RoutingTable
-
- getSuggestedLeader() - Method in exception org.apache.ratis.protocol.exceptions.NotLeaderException
-
- getSymbol() - Method in enum org.apache.ratis.util.TraditionalBinaryPrefix
-
- getSymbols() - Method in enum org.apache.ratis.util.TimeDuration.Abbreviation
-
- getTemporaryFile(File) - Static method in class org.apache.ratis.util.AtomicFileOutputStream
-
- getThrowable() - Method in class org.apache.ratis.util.OpenCloseState
-
- getTimeDuration(BiFunction<String, TimeDuration, TimeDuration>, String, TimeDuration, Consumer<String>, BiConsumer<String, TimeDuration>...) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- getTimeDuration(String, TimeDuration, TimeUnit) - Method in class org.apache.ratis.conf.RaftProperties
-
Return time duration in the given time unit.
- getTimeDuration(TimeUnit) - Method in class org.apache.ratis.conf.RaftProperties
-
- getTimeoutMs() - Method in class org.apache.ratis.protocol.RaftClientRequest
-
- getTlsConf(Function<String, TlsConf>, String, Consumer<String>) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- getTransferLeadershipException() - Method in class org.apache.ratis.protocol.RaftClientReply
-
- getTrimmed(String) - Method in class org.apache.ratis.conf.RaftProperties
-
Get the value of the name property as a trimmed String,
null if no such property exists.
- getTrimmedStrings(String) - Method in class 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) - Static method in class org.apache.ratis.util.StringUtils
-
Splits the given comma separated
String.
- getTrustCertificates() - Method in class org.apache.ratis.security.TlsConf.TrustManagerConf
-
- getTrustManager() - Method in class org.apache.ratis.security.TlsConf
-
- getType() - Method in class org.apache.ratis.datastream.impl.DataStreamPacketImpl
-
- getType() - Method in interface org.apache.ratis.protocol.DataStreamPacket
-
- getType() - Method in class org.apache.ratis.protocol.RaftClientRequest
-
- getTypeCase() - Method in class org.apache.ratis.protocol.RaftClientRequest.Type
-
- getUnit() - Method in class org.apache.ratis.util.TimeDuration
-
- getUuid() - Method in class org.apache.ratis.protocol.RaftId
-
- getValue() - Method in class org.apache.ratis.util.PureJavaCrc32C
-
- getValue() - Method in enum org.apache.ratis.util.TraditionalBinaryPrefix
-
- getWatch() - Method in class org.apache.ratis.protocol.RaftClientRequest.Type
-
- getWrite() - Method in class org.apache.ratis.protocol.RaftClientRequest.Type
-
- getWriteOptions() - Method in class org.apache.ratis.datastream.impl.DataStreamRequestByteBuffer
-
- getWriteOptions() - Method in class org.apache.ratis.datastream.impl.DataStreamRequestFilePositionCount
-
- getWriteOptions() - Method in interface org.apache.ratis.protocol.DataStreamRequest
-
- getWriteOptions() - Method in class org.apache.ratis.protocol.DataStreamRequestHeader
-
- Group(int...) - Constructor for class org.apache.ratis.util.ResourceSemaphore.Group
-
- GroupInfoReply - Class in org.apache.ratis.protocol
-
The response of server information request.
- GroupInfoReply(RaftClientRequest, Collection<RaftProtos.CommitInfoProto>, RaftGroup, RaftProtos.RoleInfoProto, boolean) - Constructor for class org.apache.ratis.protocol.GroupInfoReply
-
- GroupInfoReply(ClientId, RaftPeerId, RaftGroupId, long, Collection<RaftProtos.CommitInfoProto>, RaftGroup, RaftProtos.RoleInfoProto, boolean) - Constructor for class org.apache.ratis.protocol.GroupInfoReply
-
- GroupInfoRequest - Class in 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) - Constructor for class org.apache.ratis.protocol.GroupInfoRequest
-
- GroupListReply - Class in org.apache.ratis.protocol
-
The response of group list request.
- GroupListReply(RaftClientRequest, List<RaftGroupId>) - Constructor for class org.apache.ratis.protocol.GroupListReply
-
- GroupListReply(ClientId, RaftPeerId, RaftGroupId, long, List<RaftGroupId>) - Constructor for class org.apache.ratis.protocol.GroupListReply
-
- GroupListRequest - Class in 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) - Constructor for class org.apache.ratis.protocol.GroupListRequest
-
- groupManagement(GroupManagementRequest) - Method in interface org.apache.ratis.protocol.AdminProtocol
-
- groupManagementAsync(GroupManagementRequest) - Method in interface org.apache.ratis.protocol.AdminAsynchronousProtocol
-
- GroupManagementRequest - Class in org.apache.ratis.protocol
-
- GroupManagementRequest.Add - Class in org.apache.ratis.protocol
-
- GroupManagementRequest.Op - Class in org.apache.ratis.protocol
-
- GroupManagementRequest.Remove - Class in org.apache.ratis.protocol
-
- GroupMismatchException - Exception in org.apache.ratis.protocol.exceptions
-
This exception indicates that the group id in the request does not match
server's group id.
- GroupMismatchException(String) - Constructor for exception org.apache.ratis.protocol.exceptions.GroupMismatchException
-
- RaftClientAsynchronousProtocol - Interface in org.apache.ratis.protocol
-
- RaftClientMessage - Class in org.apache.ratis.protocol
-
- RaftClientProtocol - Interface in org.apache.ratis.protocol
-
- RaftClientReply - Class in org.apache.ratis.protocol
-
Reply from server to client
- RaftClientReply.Builder - Class in org.apache.ratis.protocol
-
- RaftClientRequest - Class in org.apache.ratis.protocol
-
Request from client to server
- RaftClientRequest(ClientId, RaftPeerId, RaftGroupId, long, boolean, RaftClientRequest.Type) - Constructor for class org.apache.ratis.protocol.RaftClientRequest
-
- RaftClientRequest(ClientId, RaftPeerId, RaftGroupId, long, RaftClientRequest.Type, long) - Constructor for class org.apache.ratis.protocol.RaftClientRequest
-
- RaftClientRequest.Builder - Class in org.apache.ratis.protocol
-
- RaftClientRequest.Type - Class in org.apache.ratis.protocol
-
The type of a request (oneof write, read, staleRead, watch; see the message RaftClientRequestProto).
- RaftConfigKeys - Interface in org.apache.ratis
-
- RaftConfigKeys.DataStream - Interface in org.apache.ratis
-
- RaftConfigKeys.Rpc - Interface in org.apache.ratis
-
- RaftException - Exception in org.apache.ratis.protocol.exceptions
-
- RaftException(String) - Constructor for exception org.apache.ratis.protocol.exceptions.RaftException
-
- RaftException(Throwable) - Constructor for exception org.apache.ratis.protocol.exceptions.RaftException
-
- RaftException(String, Throwable) - Constructor for exception org.apache.ratis.protocol.exceptions.RaftException
-
- RaftGroup - Class in org.apache.ratis.protocol
-
- RaftGroupId - Class in org.apache.ratis.protocol
-
The id of a raft group.
- RaftGroupMemberId - Class in org.apache.ratis.protocol
-
- RaftId - Class in org.apache.ratis.protocol
-
Unique identifier implemented using
UUID.
- RaftPeer - Class in org.apache.ratis.protocol
-
A
RaftPeer contains the information of a server.
- RaftPeer.Add - Interface in org.apache.ratis.protocol
-
- RaftPeer.Builder - Class in org.apache.ratis.protocol
-
- RaftPeerId - Class in org.apache.ratis.protocol
-
Id of Raft Peer which is globally unique.
- RaftProperties - Class in org.apache.ratis.conf
-
Provides access to configuration parameters.
- RaftProperties() - Constructor for class org.apache.ratis.conf.RaftProperties
-
A new configuration.
- RaftProperties(RaftProperties) - Constructor for class org.apache.ratis.conf.RaftProperties
-
A new RaftProperties with the same settings cloned from another.
- RaftRetryFailureException - Exception in org.apache.ratis.protocol.exceptions
-
- RaftRetryFailureException(RaftClientRequest, int, RetryPolicy, Throwable) - Constructor for exception org.apache.ratis.protocol.exceptions.RaftRetryFailureException
-
- RaftRpcMessage - Interface in org.apache.ratis.protocol
-
- random(T, Iterable<T>) - Static method in interface org.apache.ratis.util.CollectionUtils
-
- random(Collection<T>) - Static method in interface org.apache.ratis.util.CollectionUtils
-
- randomId() - Static method in class org.apache.ratis.protocol.ClientId
-
- randomId() - Static method in class org.apache.ratis.protocol.RaftGroupId
-
- read(DataInput) - Static method in class org.apache.ratis.io.MD5Hash
-
Constructs, reads and returns an instance.
- readFields(DataInput) - Method in class org.apache.ratis.io.MD5Hash
-
- readFully(InputStream, int) - Static method in interface org.apache.ratis.util.IOUtils
-
- readFully(InputStream, byte[], int, int) - Static method in interface org.apache.ratis.util.IOUtils
-
Reads len bytes in a loop.
- readLock(StackTraceElement, Consumer<String>) - Method in class org.apache.ratis.util.AutoCloseableReadWriteLock
-
- readObject(InputStream, Class<T>) - Static method in interface org.apache.ratis.util.IOUtils
-
- readRequestType() - Static method in class org.apache.ratis.protocol.RaftClientRequest
-
- readStoredMd5ForFile(File) - Static method in class org.apache.ratis.util.MD5FileUtil
-
Read the md5 checksum stored alongside the given data file.
- receivedRequest(REQUEST, Consumer<REQUEST>) - Method in class 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>) - Method in class org.apache.ratis.util.SlidingWindow.Client
-
Receive a reply with the given seqNum (may out-of-order).
- receiveReply(long, REPLY, Consumer<REQUEST>) - Method in class org.apache.ratis.util.SlidingWindow.Server
-
Receives a reply for the given seqNum (may out-of-order) from the processor.
- ReconfigurationInProgressException - Exception in org.apache.ratis.protocol.exceptions
-
- ReconfigurationInProgressException(String) - Constructor for exception org.apache.ratis.protocol.exceptions.ReconfigurationInProgressException
-
- ReconfigurationTimeoutException - Exception in org.apache.ratis.protocol.exceptions
-
- ReconfigurationTimeoutException(String) - Constructor for exception org.apache.ratis.protocol.exceptions.ReconfigurationTimeoutException
-
- ReferenceCountedObject<T> - Interface in org.apache.ratis.util
-
A reference-counted object can be retained for later use
and then be released for returning the resource.
- ReflectionUtils - Interface in org.apache.ratis.util
-
Reflection related utility methods.
- ReflectionUtils.Classes - Class in org.apache.ratis.util
-
- ReflectionUtils.Constructors - Class in org.apache.ratis.util
-
- register(Object, Iterable<Supplier<String>>) - Method in class org.apache.ratis.util.JmxRegister
-
Try registering the mBean with the names one by one.
- release() - Method in interface org.apache.ratis.util.ReferenceCountedObject
-
Release the object.
- release(int...) - Method in class org.apache.ratis.util.ResourceSemaphore.Group
-
- release() - Method in class org.apache.ratis.util.ResourceSemaphore
-
- release(int) - Method in class org.apache.ratis.util.ResourceSemaphore
-
- Remove(RaftGroupId, boolean, boolean) - Constructor for class org.apache.ratis.protocol.GroupManagementRequest.Remove
-
- remove(E) - Method in class org.apache.ratis.util.DataBlockingQueue
-
- remove(E) - Method in class org.apache.ratis.util.DataQueue
-
- removeExisting(K, V, Map<K, V>, Supplier<Object>) - Static method in interface org.apache.ratis.util.CollectionUtils
-
- renameMD5File(File, File) - Static method in class org.apache.ratis.util.MD5FileUtil
-
- replaceExisting(K, V, V, Map<K, V>, Supplier<Object>) - Static method in interface org.apache.ratis.util.CollectionUtils
-
- requireInt() - Static method in interface org.apache.ratis.conf.ConfUtils
-
- requireMax(int) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- requireMax(double) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- requireMax(long) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- requireMin(int) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- requireMin(SizeInBytes) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- requireMin(long) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- requireMinSizeInByte(SizeInBytes) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- requireNonNegativeTimeDuration() - Static method in interface org.apache.ratis.conf.ConfUtils
-
- requirePositive() - Static method in interface org.apache.ratis.conf.ConfUtils
-
- reset() - Method in class org.apache.ratis.util.PureJavaCrc32C
-
- resetFirstSeqNum() - Method in class org.apache.ratis.util.SlidingWindow.Client
-
- resetProxy(RaftPeerId) - Method in class org.apache.ratis.util.PeerProxyMap
-
- ResourceSemaphore - Class in org.apache.ratis.util
-
- ResourceSemaphore(int) - Constructor for class org.apache.ratis.util.ResourceSemaphore
-
- ResourceSemaphore.Group - Class in org.apache.ratis.util
-
- ResourceSemaphore.ResourceAcquireStatus - Enum in org.apache.ratis.util
-
- resourceSize() - Method in class org.apache.ratis.util.ResourceSemaphore.Group
-
- ResourceUnavailableException - Exception in org.apache.ratis.protocol.exceptions
-
A particular resource is unavailable.
- ResourceUnavailableException(String) - Constructor for exception org.apache.ratis.protocol.exceptions.ResourceUnavailableException
-
- Resume() - Constructor for class org.apache.ratis.protocol.LeaderElectionManagementRequest.Resume
-
- retain() - Method in interface org.apache.ratis.util.ReferenceCountedObject
-
Retain the object for later use.
- retry(REQUEST, Consumer<REQUEST>) - Method in class org.apache.ratis.util.SlidingWindow.Client
-
Receive a retry from an existing request (may out-of-order).
- RETRY_WITHOUT_SLEEP_ACTION - Static variable in interface org.apache.ratis.retry.RetryPolicy
-
- retryForeverNoSleep() - Static method in interface org.apache.ratis.retry.RetryPolicies
-
For any requests, keep retrying forever with no sleep between attempts.
- retryForeverWithSleep(TimeDuration) - Static method in interface org.apache.ratis.retry.RetryPolicies
-
For any requests, keep retrying forever with a fixed sleep time between attempts.
- RetryPolicies - Interface in org.apache.ratis.retry
-
- RetryPolicies.Constants - Class in org.apache.ratis.retry
-
- RetryPolicies.NoRetry - Class in org.apache.ratis.retry
-
- RetryPolicies.RetryForeverNoSleep - Class in org.apache.ratis.retry
-
- RetryPolicies.RetryForeverWithSleep - Class in org.apache.ratis.retry
-
For any requests, keep retrying forever with a fixed sleep time between attempts.
- RetryPolicies.RetryLimited - Class in org.apache.ratis.retry
-
For any requests, keep retrying a limited number of attempts with a fixed sleep time between attempts.
- RetryPolicy - Interface in org.apache.ratis.retry
-
Policy abstract for retrying.
- RetryPolicy.Action - Interface in org.apache.ratis.retry
-
The action it should take.
- RetryPolicy.Event - Interface in org.apache.ratis.retry
-
The event triggered the failure.
- retryUpToMaximumCountWithFixedSleep(int, TimeDuration) - Static method in interface 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 - Static variable in interface org.apache.ratis.util.JavaUtils
-
- roundUpNanos(long) - Method in class org.apache.ratis.util.TimeDuration
-
Round up to the given nanos to nearest multiple (in nanoseconds) of this
TimeDuration.
- RoutingTable - Interface in 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 - Class in org.apache.ratis.protocol
-
- RpcFactory - Interface in org.apache.ratis.rpc
-
The type of RPC Factory.
- RpcType - Interface in org.apache.ratis.rpc
-
The type of RPC implementations.
- RpcType.Get - Interface in org.apache.ratis.rpc
-
- run() - Method in interface 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>) - Static method in interface org.apache.ratis.util.LogUtils
-
- runAsUnchecked(CheckedRunnable<T>) - Static method in interface org.apache.ratis.util.JavaUtils
-
- runAsUnchecked(CheckedRunnable<THROWABLE>, Function<THROWABLE, ? extends RuntimeException>) - Static method in interface org.apache.ratis.util.JavaUtils
-
- RUNNING - Static variable in class org.apache.ratis.util.LifeCycle.States
-
- runRepeatedly(Runnable, long, long, TimeUnit) - Static method in interface org.apache.ratis.util.JavaUtils
-
- saveMD5File(File, MD5Hash) - Static method in class org.apache.ratis.util.MD5FileUtil
-
Save the ".md5" file that lists the md5sum of another file.
- Server(Object, REQUEST) - Constructor for class org.apache.ratis.util.SlidingWindow.Server
-
- ServerNotReadyException - Exception in org.apache.ratis.protocol.exceptions
-
The server is not ready yet.
- ServerNotReadyException(String) - Constructor for exception org.apache.ratis.protocol.exceptions.ServerNotReadyException
-
- set(BiConsumer<String, T>, String, T, BiConsumer<String, T>...) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- set(String, String) - Method in class org.apache.ratis.conf.RaftProperties
-
Set the value of the name property.
- set(MD5Hash) - Method in class org.apache.ratis.io.MD5Hash
-
Copy the contents of another instance into this instance.
- setAddress(String) - Method in class org.apache.ratis.protocol.RaftPeer.Builder
-
- setAddress(InetSocketAddress) - Method in class org.apache.ratis.protocol.RaftPeer.Builder
-
- setAdminAddress(String) - Method in class org.apache.ratis.protocol.RaftPeer.Builder
-
- setAdminAddress(InetSocketAddress) - Method in class org.apache.ratis.protocol.RaftPeer.Builder
-
- setBaseSleepTime(TimeDuration) - Method in class org.apache.ratis.retry.ExponentialBackoffRetry.Builder
-
- setBoolean(BiConsumer<String, Boolean>, String, boolean, BiConsumer<String, Boolean>...) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- setBoolean(String, boolean) - Method in class org.apache.ratis.conf.RaftProperties
-
Set the value of the name property to a boolean.
- setBuffer(ByteBuffer) - Method in class org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer.Builder
-
- setBytesWritten(long) - Method in class org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer.Builder
-
- setCallId(long) - Method in class org.apache.ratis.protocol.RaftClientReply.Builder
-
- setCallId(long) - Method in class org.apache.ratis.protocol.RaftClientRequest.Builder
-
- setClass(String, Class<?>, Class<?>) - Method in 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) - Method in class org.apache.ratis.protocol.RaftPeer.Builder
-
- setClientAddress(InetSocketAddress) - Method in class org.apache.ratis.protocol.RaftPeer.Builder
-
- setClientId(ClientId) - Method in class org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer.Builder
-
- setClientId(ClientId) - Method in class org.apache.ratis.protocol.RaftClientReply.Builder
-
- setClientId(ClientId) - Method in class org.apache.ratis.protocol.RaftClientRequest.Builder
-
- setClientInvocationId(ClientInvocationId) - Method in class org.apache.ratis.protocol.RaftClientReply.Builder
-
- setCommitInfos(Collection<RaftProtos.CommitInfoProto>) - Method in class org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer.Builder
-
- setCommitInfos(Collection<RaftProtos.CommitInfoProto>) - Method in class org.apache.ratis.protocol.RaftClientReply.Builder
-
- setConfiguration(SetConfigurationRequest) - Method in interface org.apache.ratis.protocol.AdminProtocol
-
- setConfigurationAsync(SetConfigurationRequest) - Method in interface org.apache.ratis.protocol.AdminAsynchronousProtocol
-
- SetConfigurationRequest - Class in org.apache.ratis.protocol
-
- SetConfigurationRequest(ClientId, RaftPeerId, RaftGroupId, long, List<RaftPeer>) - Constructor for class org.apache.ratis.protocol.SetConfigurationRequest
-
- SetConfigurationRequest(ClientId, RaftPeerId, RaftGroupId, long, List<RaftPeer>, List<RaftPeer>) - Constructor for class org.apache.ratis.protocol.SetConfigurationRequest
-
- setDataStreamAddress(String) - Method in class org.apache.ratis.protocol.RaftPeer.Builder
-
- setDataStreamAddress(InetSocketAddress) - Method in class org.apache.ratis.protocol.RaftPeer.Builder
-
- setDataStreamPacket(DataStreamPacket) - Method in class org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer.Builder
-
- setDataStreamReplyHeader(DataStreamReplyHeader) - Method in class org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer.Builder
-
- setDefaultPolicy(RetryPolicy) - Method in class org.apache.ratis.retry.ExceptionDependentRetry.Builder
-
- setDigest(String) - Method in class org.apache.ratis.io.MD5Hash
-
Sets the digest value from a hex string.
- setDouble(BiConsumer<String, Double>, String, double, BiConsumer<String, Double>...) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- setDouble(String, double) - Method in class org.apache.ratis.conf.RaftProperties
-
Set the value of the name property to a double.
- setEnum(String, T) - Method in class org.apache.ratis.conf.RaftProperties
-
Set the value of the name property to the given type.
- setException(RaftException) - Method in class org.apache.ratis.protocol.RaftClientReply.Builder
-
- setExceptionToPolicy(Class<? extends Throwable>, RetryPolicy) - Method in class org.apache.ratis.retry.ExceptionDependentRetry.Builder
-
- setFile(BiConsumer<String, File>, String, File, BiConsumer<String, File>...) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- setFile(String, File) - Method in class org.apache.ratis.conf.RaftProperties
-
- setFiles(BiConsumer<String, List<File>>, String, List<File>, BiConsumer<String, List<File>>...) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- setFiles(String, List<File>) - Method in class org.apache.ratis.conf.RaftProperties
-
- setFirstRequest() - Method in interface org.apache.ratis.util.SlidingWindow.ClientSideRequest
-
- setGroupId(RaftGroupId) - Method in class org.apache.ratis.protocol.RaftClientReply.Builder
-
- setGroupId(RaftGroupId) - Method in class org.apache.ratis.protocol.RaftClientRequest.Builder
-
- setId(RaftPeerId) - Method in class org.apache.ratis.protocol.RaftPeer.Builder
-
- setId(String) - Method in class org.apache.ratis.protocol.RaftPeer.Builder
-
- setId(ByteString) - Method in class org.apache.ratis.protocol.RaftPeer.Builder
-
- setIfUnset(String, String) - Method in class org.apache.ratis.conf.RaftProperties
-
Sets a property if it is currently unset.
- setInt(BiConsumer<String, Integer>, String, int, BiConsumer<String, Integer>...) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- setInt(String, int) - Method in class org.apache.ratis.conf.RaftProperties
-
Set the value of the name property to an int.
- setKeyCertificates(TlsConf.CertificatesConf) - Method in class org.apache.ratis.security.TlsConf.Builder
-
- setLeaderId(RaftPeerId) - Method in class org.apache.ratis.protocol.RaftClientRequest.Builder
-
- setLogIndex(long) - Method in class org.apache.ratis.protocol.RaftClientReply.Builder
-
- setLong(BiConsumer<String, Long>, String, long, BiConsumer<String, Long>...) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- setLong(String, long) - Method in class org.apache.ratis.conf.RaftProperties
-
Set the value of the name property to a long.
- setMaxAttempts(int) - Method in class org.apache.ratis.retry.ExceptionDependentRetry.Builder
-
- setMaxAttempts(int) - Method in class org.apache.ratis.retry.ExponentialBackoffRetry.Builder
-
- setMaxSleepTime(TimeDuration) - Method in class org.apache.ratis.retry.ExponentialBackoffRetry.Builder
-
- setMessage(Message) - Method in class org.apache.ratis.protocol.RaftClientReply.Builder
-
- setMessage(Message) - Method in class org.apache.ratis.protocol.RaftClientRequest.Builder
-
- setMutualTls(boolean) - Method in class org.apache.ratis.security.TlsConf.Builder
-
- setName(String) - Method in class org.apache.ratis.security.TlsConf.Builder
-
- setName(String) - Method in class org.apache.ratis.util.LifeCycle
-
- setPriority(int) - Method in class org.apache.ratis.protocol.RaftPeer.Builder
-
- setPrivateKey(TlsConf.PrivateKeyConf) - Method in class org.apache.ratis.security.TlsConf.Builder
-
- setReply(REPLY) - Method in interface org.apache.ratis.util.SlidingWindow.Request
-
- setRequest(RaftClientRequest) - Method in class org.apache.ratis.protocol.RaftClientReply.Builder
-
- setRoutingTable(RoutingTable) - Method in class org.apache.ratis.protocol.RaftClientRequest.Builder
-
- setServerId(RaftPeerId) - Method in class org.apache.ratis.protocol.RaftClientReply.Builder
-
- setServerId(RaftGroupMemberId) - Method in class org.apache.ratis.protocol.RaftClientReply.Builder
-
- setServerId(RaftPeerId) - Method in class org.apache.ratis.protocol.RaftClientRequest.Builder
-
- setSizeInBytes(BiConsumer<String, String>, String, SizeInBytes, BiConsumer<String, Long>...) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- setSlidingWindowEntry(RaftProtos.SlidingWindowEntry) - Method in class org.apache.ratis.protocol.RaftClientRequest.Builder
-
- setStreamId(long) - Method in class org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer.Builder
-
- setStreamOffset(long) - Method in class org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer.Builder
-
- setSuccess(boolean) - Method in class org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer.Builder
-
- setSuccess(boolean) - Method in class org.apache.ratis.protocol.RaftClientReply.Builder
-
- setSuccess() - Method in class org.apache.ratis.protocol.RaftClientReply.Builder
-
- setTerminateOnUncaughtException(boolean) - Static method in interface org.apache.ratis.util.ExitUtils
-
- setTimeDuration(BiConsumer<String, TimeDuration>, String, TimeDuration, BiConsumer<String, TimeDuration>...) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- setTimeDuration(String, TimeDuration) - Method in class org.apache.ratis.conf.RaftProperties
-
Set the value of name to the given time duration.
- setTimeoutMs(long) - Method in class org.apache.ratis.protocol.RaftClientRequest.Builder
-
- setTlsConf(BiConsumer<String, TlsConf>, String, TlsConf) - Static method in interface org.apache.ratis.conf.ConfUtils
-
- setTrustCertificates(TlsConf.CertificatesConf) - Method in class org.apache.ratis.security.TlsConf.Builder
-
- setType(RaftProtos.DataStreamPacketHeaderProto.Type) - Method in class org.apache.ratis.datastream.impl.DataStreamReplyByteBuffer.Builder
-
- setType(RaftClientRequest.Type) - Method in class org.apache.ratis.protocol.RaftClientRequest.Builder
-
- setType(RaftProperties, SupportedDataStreamType) - Static method in interface org.apache.ratis.RaftConfigKeys.DataStream
-
- setType(RaftProperties, RpcType) - Static method in interface org.apache.ratis.RaftConfigKeys.Rpc
-
- shouldReconnect(Throwable) - Static method in interface org.apache.ratis.util.IOUtils
-
- shouldRetry() - Method in interface org.apache.ratis.retry.RetryPolicy.Action
-
- shutdownAndWait(ExecutorService) - Static method in interface org.apache.ratis.util.ConcurrentUtils
-
Shutdown the given executor and wait for its termination.
- shutdownAndWait(TimeDuration, ExecutorService, Consumer<TimeDuration>) - Static method in interface org.apache.ratis.util.ConcurrentUtils
-
- signal() - Method in class org.apache.ratis.util.AwaitForSignal
-
- size() - Method in class org.apache.ratis.conf.RaftProperties
-
- size() - Method in interface org.apache.ratis.protocol.Message
-
- SizeInBytes - Class in org.apache.ratis.util
-
- skipFully(InputStream, long) - Static method in interface org.apache.ratis.util.IOUtils
-
Similar to readFully().
- sleep() - Method in class org.apache.ratis.util.TimeDuration
-
The same as sleep(null).
- sleep(Consumer<Object>) - Method in class org.apache.ratis.util.TimeDuration
-
- SLEEP_TIME - Static variable in interface org.apache.ratis.util.FileUtils
-
- slice() - Method in class org.apache.ratis.datastream.impl.DataStreamPacketByteBuffer
-
- SlidingWindow - Interface in org.apache.ratis.util
-
A single-client-to-multiple-server sliding window.
- SlidingWindow.Client<REQUEST extends SlidingWindow.ClientSideRequest<REPLY>,REPLY> - Class in org.apache.ratis.util
-
Client side sliding window.
- SlidingWindow.ClientSideRequest<REPLY> - Interface in org.apache.ratis.util
-
- SlidingWindow.Request<REPLY> - Interface in org.apache.ratis.util
-
- SlidingWindow.RequestMap<REQUEST extends SlidingWindow.Request<REPLY>,REPLY> - Class in org.apache.ratis.util
-
A seqNum-to-request map, sorted by seqNum.
- SlidingWindow.Server<REQUEST extends SlidingWindow.ServerSideRequest<REPLY>,REPLY> - Class in org.apache.ratis.util
-
Server side sliding window.
- SlidingWindow.ServerSideRequest<REPLY> - Interface in org.apache.ratis.util
-
- snapshotManagement(SnapshotManagementRequest) - Method in interface org.apache.ratis.protocol.AdminProtocol
-
- snapshotManagementAsync(SnapshotManagementRequest) - Method in interface org.apache.ratis.protocol.AdminAsynchronousProtocol
-
- SnapshotManagementRequest - Class in org.apache.ratis.protocol
-
- SnapshotManagementRequest(ClientId, RaftPeerId, RaftGroupId, long, long, SnapshotManagementRequest.Op) - Constructor for class org.apache.ratis.protocol.SnapshotManagementRequest
-
- SnapshotManagementRequest.Create - Class in org.apache.ratis.protocol
-
- SnapshotManagementRequest.Op - Class in org.apache.ratis.protocol
-
- SOLARIS - Static variable in class org.apache.ratis.util.PlatformUtils
-
- StaleReadException - Exception in org.apache.ratis.protocol.exceptions
-
This exception indicates the failure of a stale-read.
- StaleReadException(String) - Constructor for exception org.apache.ratis.protocol.exceptions.StaleReadException
-
- staleReadRequestType(long) - Static method in class org.apache.ratis.protocol.RaftClientRequest
-
- StandardWriteOption - Enum in org.apache.ratis.io
-
- start() - Method in class org.apache.ratis.util.JvmPauseMonitor
-
Start this monitor.
- startAndTransition(CheckedRunnable<T>, Class<? extends Throwable>...) - Method in class org.apache.ratis.util.LifeCycle
-
Run the given start method and transition the current state accordingly.
- STARTING_OR_RUNNING - Static variable in class org.apache.ratis.util.LifeCycle.States
-
- StateMachineException - Exception in org.apache.ratis.protocol.exceptions
-
- StateMachineException(RaftGroupMemberId, Throwable) - Constructor for exception org.apache.ratis.protocol.exceptions.StateMachineException
-
- StateMachineException(String) - Constructor for exception org.apache.ratis.protocol.exceptions.StateMachineException
-
- StateMachineException(String, Throwable) - Constructor for exception org.apache.ratis.protocol.exceptions.StateMachineException
-
- StateMachineException(RaftGroupMemberId, Throwable, boolean) - Constructor for exception org.apache.ratis.protocol.exceptions.StateMachineException
-
- StateMachineException(String, boolean) - Constructor for exception org.apache.ratis.protocol.exceptions.StateMachineException
-
- StateMachineException(String, Throwable, boolean) - Constructor for exception org.apache.ratis.protocol.exceptions.StateMachineException
-
- StaticResolution() - Constructor for class org.apache.ratis.util.NetUtils.StaticResolution
-
- stop() - Method in class org.apache.ratis.util.JvmPauseMonitor
-
Stop this monitor.
- StreamException - Exception in org.apache.ratis.protocol.exceptions
-
A stream is not found in the server.
- StreamException(String) - Constructor for exception org.apache.ratis.protocol.exceptions.StreamException
-
- string2boolean(String, boolean) - Static method in class org.apache.ratis.util.StringUtils
-
- string2long(String) - Static method in enum org.apache.ratis.util.TraditionalBinaryPrefix
-
Convert a string to long.
- stringifyException(Throwable) - Static method in class org.apache.ratis.util.StringUtils
-
- stringSupplierAsObject(Supplier<String>) - Static method in class org.apache.ratis.util.StringUtils
-
- StringUtils - Class in org.apache.ratis.util
-
- submit(CheckedSupplier<OUTPUT, THROWABLE>, ExecutorService) - Method in class org.apache.ratis.util.TaskQueue
-
The same as submit(task, executor, Function.identity());
- submit(CheckedSupplier<OUTPUT, THROWABLE>, ExecutorService, Function<Throwable, Throwable>) - Method in class 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) - Method in interface org.apache.ratis.protocol.RaftClientProtocol
-
- submitClientRequestAsync(RaftClientRequest) - Method in interface org.apache.ratis.protocol.RaftClientAsynchronousProtocol
-
- submitNewRequest(LongFunction<REQUEST>, Consumer<REQUEST>) - Method in class org.apache.ratis.util.SlidingWindow.Client
-
- subtract(TimeDuration) - Method in class org.apache.ratis.util.TimeDuration
-
- supplyAndLog(Logger, CheckedSupplier<OUTPUT, THROWABLE>, Supplier<String>) - Static method in interface org.apache.ratis.util.LogUtils
-
- supplyAndWrapAsCompletionException(CheckedSupplier<OUTPUT, THROWABLE>) - Static method in interface org.apache.ratis.util.JavaUtils
-
- SupportedDataStreamType - Enum in org.apache.ratis.datastream
-
- SupportedRpcType - Enum in org.apache.ratis.rpc
-
The RPC types supported.
- valueOf(String) - Static method in interface org.apache.ratis.datastream.DataStreamType
-
- valueOf(String) - Static method in enum org.apache.ratis.datastream.SupportedDataStreamType
-
Returns the enum constant of this type with the specified name.
- valueOf(File, long, long) - Static method in class org.apache.ratis.io.FilePositionCount
-
- valueOf(String) - Static method in enum org.apache.ratis.io.StandardWriteOption
-
Returns the enum constant of this type with the specified name.
- valueOf(ByteString) - Static method in class org.apache.ratis.protocol.ClientId
-
- valueOf(UUID) - Static method in class org.apache.ratis.protocol.ClientId
-
- valueOf(ClientId, long) - Static method in class org.apache.ratis.protocol.ClientInvocationId
-
- valueOf(RaftClientMessage) - Static method in class org.apache.ratis.protocol.ClientInvocationId
-
- valueOf(RaftProtos.StateMachineLogEntryProto) - Static method in class org.apache.ratis.protocol.ClientInvocationId
-
- valueOf(ByteString, Supplier<String>) - Static method in interface org.apache.ratis.protocol.Message
-
- valueOf(ByteString) - Static method in interface org.apache.ratis.protocol.Message
-
- valueOf(String) - Static method in interface org.apache.ratis.protocol.Message
-
- valueOf(RaftProtos.WriteRequestTypeProto) - Static method in class org.apache.ratis.protocol.RaftClientRequest.Type
-
- valueOf(RaftProtos.DataStreamRequestTypeProto) - Static method in class org.apache.ratis.protocol.RaftClientRequest.Type
-
- valueOf(RaftProtos.ForwardRequestTypeProto) - Static method in class org.apache.ratis.protocol.RaftClientRequest.Type
-
- valueOf(RaftProtos.ReadRequestTypeProto) - Static method in class org.apache.ratis.protocol.RaftClientRequest.Type
-
- valueOf(RaftProtos.StaleReadRequestTypeProto) - Static method in class org.apache.ratis.protocol.RaftClientRequest.Type
-
- valueOf(RaftProtos.WatchRequestTypeProto) - Static method in class org.apache.ratis.protocol.RaftClientRequest.Type
-
- valueOf(RaftProtos.MessageStreamRequestTypeProto) - Static method in class org.apache.ratis.protocol.RaftClientRequest.Type
-
- valueOf(RaftGroupId, RaftPeer...) - Static method in class org.apache.ratis.protocol.RaftGroup
-
- valueOf(RaftGroupId, Collection<RaftPeer>) - Static method in class org.apache.ratis.protocol.RaftGroup
-
- valueOf(UUID) - Static method in class org.apache.ratis.protocol.RaftGroupId
-
- valueOf(ByteString) - Static method in class org.apache.ratis.protocol.RaftGroupId
-
- valueOf(RaftPeerId, RaftGroupId) - Static method in class org.apache.ratis.protocol.RaftGroupMemberId
-
- valueOf(ByteString) - Static method in class org.apache.ratis.protocol.RaftPeerId
-
- valueOf(String) - Static method in class org.apache.ratis.protocol.RaftPeerId
-
- valueOf(String) - Static method in interface org.apache.ratis.rpc.RpcType
-
- valueOf(String) - Static method in enum org.apache.ratis.rpc.SupportedRpcType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.ratis.util.LifeCycle.State
-
Returns the enum constant of this type with the specified name.
- valueOf(Supplier<T>) - Static method in class org.apache.ratis.util.MemoizedSupplier
-
- valueOf(String) - Static method in enum org.apache.ratis.util.PlatformUtils.OSType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.ratis.util.ResourceSemaphore.ResourceAcquireStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(long) - Static method in class org.apache.ratis.util.SizeInBytes
-
- valueOf(long, TraditionalBinaryPrefix) - Static method in class org.apache.ratis.util.SizeInBytes
-
- valueOf(String) - Static method in class org.apache.ratis.util.SizeInBytes
-
- valueOf(String) - Static method in enum org.apache.ratis.util.TimeDuration.Abbreviation
-
Returns the enum constant of this type with the specified name.
- valueOf(TimeUnit) - Static method in enum org.apache.ratis.util.TimeDuration.Abbreviation
-
- valueOf(String, TimeUnit) - Static method in class org.apache.ratis.util.TimeDuration
-
Parse the given time duration string.
- valueOf(long, TimeUnit) - Static method in class org.apache.ratis.util.TimeDuration
-
- valueOf(long) - Static method in class org.apache.ratis.util.Timestamp
-
- valueOf(String) - Static method in enum org.apache.ratis.util.TraditionalBinaryPrefix
-
Returns the enum constant of this type with the specified name.
- valueOf(char) - Static method in enum org.apache.ratis.util.TraditionalBinaryPrefix
-
- valueOfIgnoreCase(String) - Static method in enum org.apache.ratis.datastream.SupportedDataStreamType
-
- valueOfIgnoreCase(String) - Static method in enum org.apache.ratis.rpc.SupportedRpcType
-
- values() - Static method in enum org.apache.ratis.datastream.SupportedDataStreamType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.ratis.io.StandardWriteOption
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.ratis.rpc.SupportedRpcType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.ratis.util.LifeCycle.State
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.ratis.util.PlatformUtils.OSType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.ratis.util.ResourceSemaphore.ResourceAcquireStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.ratis.util.TimeDuration.Abbreviation
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.ratis.util.TraditionalBinaryPrefix
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- verifySavedMD5(File, MD5Hash) - Static method in class org.apache.ratis.util.MD5FileUtil
-
Verify that the previously saved md5 for the given file matches
expectedMd5.