Index

A B C D E F G H I J K L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Serialized Form

A

AbstractLifecycleComponent - Class in org.opensearch.common.lifecycle
Base class for a lifecycle component.
AbstractLifecycleComponent() - Constructor for class org.opensearch.common.lifecycle.AbstractLifecycleComponent
 
AbstractRecyclerC<T> - Class in org.opensearch.common.recycler
Base recycler.
AbstractRecyclerC() - Constructor for class org.opensearch.common.recycler.AbstractRecyclerC
 
AbstractRefCounted - Class in org.opensearch.common.util.concurrent
A basic RefCounted implementation that is initialized with a ref count of 1 and calls AbstractRefCounted.closeInternal() once it reaches a 0 ref count
AbstractRefCounted(String) - Constructor for class org.opensearch.common.util.concurrent.AbstractRefCounted
 
accept(T) - Method in interface org.opensearch.common.CheckedConsumer
 
accept(T, U) - Method in interface org.opensearch.common.CheckedBiConsumer
 
ActionFuture<T> - Interface in org.opensearch.common.action
An extension to Future allowing for simplified "get" operations.
actionGet() - Method in interface org.opensearch.common.action.ActionFuture
Similar to Future.get(), just catching the InterruptedException and throwing an IllegalStateException instead.
actionGet(long) - Method in interface org.opensearch.common.action.ActionFuture
actionGet(long, TimeUnit) - Method in interface org.opensearch.common.action.ActionFuture
actionGet(String) - Method in interface org.opensearch.common.action.ActionFuture
actionGet(TimeValue) - Method in interface org.opensearch.common.action.ActionFuture
addLifecycleListener(LifecycleListener) - Method in class org.opensearch.common.lifecycle.AbstractLifecycleComponent
 
addLifecycleListener(LifecycleListener) - Method in interface org.opensearch.common.lifecycle.LifecycleComponent
 
addListener(BiConsumer<T, ? super Exception>) - Method in class org.opensearch.common.concurrent.CompletableContext
 
addValidationError(String) - Method in exception org.opensearch.common.ValidationException
Add a new validation error to the accumulating validation errors
addValidationErrors(Iterable<String>) - Method in exception org.opensearch.common.ValidationException
Add a sequence of validation errors to the accumulating validation errors
addValue(double) - Method in class org.opensearch.common.ExponentiallyWeightedMovingAverage
 
adjustContentSizeForPartialEncryption(T, long) - Method in interface org.opensearch.common.crypto.CryptoHandler
Few encryption algorithms have certain conditions on the unit of content to be encrypted.
afterClose() - Method in class org.opensearch.common.lifecycle.LifecycleListener
 
afterRelease(boolean) - Method in class org.opensearch.common.recycler.ConcurrentDequeRecycler
 
afterRelease(boolean) - Method in class org.opensearch.common.recycler.DequeRecycler
Called after a release.
afterStart() - Method in class org.opensearch.common.lifecycle.LifecycleListener
 
afterStop() - Method in class org.opensearch.common.lifecycle.LifecycleListener
 
alreadyClosed() - Method in class org.opensearch.common.util.concurrent.AbstractRefCounted
 
AlreadySetException() - Constructor for exception org.opensearch.common.SetOnce.AlreadySetException
 
anyMoveBackToPreviousDay() - Method in class org.opensearch.common.LocalTimeOffset
Does this transition or any previous transitions move back to the previous day? See LocalTimeOffset.Lookup.anyMoveBackToPreviousDay() for rules.
anyMoveBackToPreviousDay() - Method in class org.opensearch.common.LocalTimeOffset.Gap
 
anyMoveBackToPreviousDay() - Method in class org.opensearch.common.LocalTimeOffset.Lookup
Do any of the transitions move back to the previous day?
anyMoveBackToPreviousDay() - Method in class org.opensearch.common.LocalTimeOffset.Overlap
 
apply(S, T, U) - Method in interface org.opensearch.common.CheckedTriFunction
 
apply(S, T, U) - Method in interface org.opensearch.common.TriConsumer
Applies this function to the given arguments.
apply(S, T, U) - Method in interface org.opensearch.common.TriFunction
Applies this function to the given arguments.
apply(T) - Method in interface org.opensearch.common.CheckedFunction
 
apply(T, U) - Method in interface org.opensearch.common.CheckedBiFunction
 
atan(double) - Static method in class org.opensearch.common.util.OpenSearchSloppyMath
 

B

base64UUID() - Static method in class org.opensearch.common.UUIDs
Generates a time-based UUID (similar to Flake IDs), which is preferred when generating an ID to be indexed into a Lucene index as primary key.
beforeClose() - Method in class org.opensearch.common.lifecycle.LifecycleListener
 
beforeGap(long, LocalTimeOffset.Gap) - Method in interface org.opensearch.common.LocalTimeOffset.Strategy
Handle a local time that happened before the start of a gap.
beforeOverlap(long, LocalTimeOffset.Overlap) - Method in interface org.opensearch.common.LocalTimeOffset.Strategy
Handle a local time that happened before the start of an overlap.
beforeRelease() - Method in class org.opensearch.common.recycler.ConcurrentDequeRecycler
 
beforeRelease() - Method in class org.opensearch.common.recycler.DequeRecycler
Called before releasing an object, returns true if the object should be recycled and false otherwise.
beforeStart() - Method in class org.opensearch.common.lifecycle.LifecycleListener
 
beforeStop() - Method in class org.opensearch.common.lifecycle.LifecycleListener
 
BitMixer - Class in org.opensearch.common.util
Bit mixing utilities from carrotsearch.hppc.
BitMixer() - Constructor for class org.opensearch.common.util.BitMixer
 
Booleans - Class in org.opensearch.common
Extended Boolean functionality
build() - Method in interface org.opensearch.common.recycler.Recycler.Factory
 

C

c - Variable in class org.opensearch.common.recycler.ConcurrentDequeRecycler
 
canMoveToClosed() - Method in class org.opensearch.common.lifecycle.Lifecycle
 
canMoveToStarted() - Method in class org.opensearch.common.lifecycle.Lifecycle
 
canMoveToStopped() - Method in class org.opensearch.common.lifecycle.Lifecycle
 
CharArrays - Class in org.opensearch.common
Helper class similar to Arrays to handle conversions for Char arrays
charsBeginsWith(String, char[]) - Static method in class org.opensearch.common.CharArrays
Tests if a char[] contains a sequence of characters that match the prefix.
CheckedBiConsumer<T,U,E extends Exception> - Interface in org.opensearch.common
A BiConsumer-like interface which allows throwing checked exceptions.
CheckedBiFunction<T,U,R,E extends Exception> - Interface in org.opensearch.common
A BiFunction-like interface which allows throwing checked exceptions.
CheckedConsumer<T,E extends Exception> - Interface in org.opensearch.common
A Consumer-like interface which allows throwing checked exceptions.
CheckedFunction<T,R,E extends Exception> - Interface in org.opensearch.common
A Function-like interface which allows throwing checked exceptions.
CheckedRunnable<E extends Exception> - Interface in org.opensearch.common
A Runnable-like interface which allows throwing checked exceptions.
CheckedSupplier<R,E extends Exception> - Interface in org.opensearch.common
A Supplier-like interface which allows throwing checked exceptions.
CheckedTriFunction<S,T,U,R,E extends Exception> - Interface in org.opensearch.common
A TriFunction-like interface which allows throwing checked exceptions.
checkJarHell(Consumer<String>) - Static method in class org.opensearch.bootstrap.JarHell
Checks the current classpath for duplicate classes
checkJarHell(Set<URL>, Consumer<String>) - Static method in class org.opensearch.bootstrap.JarHell
Checks the set of URLs for duplicate classes
checkJavaVersion(String, String) - Static method in class org.opensearch.bootstrap.JarHell
Checks that the java specification version targetVersion required by resource is compatible with the current installation.
checkVersionFormat(String) - Static method in class org.opensearch.bootstrap.JarHell
 
cidrMaskToMinMax(String) - Static method in class org.opensearch.common.network.Cidrs
Parses an IPv4 address block in CIDR notation into a pair of longs representing the bottom and top of the address block
Cidrs - Class in org.opensearch.common.network
Network Cidrs
Classes - Class in org.opensearch.common
Base class utilities
clear() - Method in class org.opensearch.common.collect.MapBuilder
 
clear() - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 
close() - Method in interface org.opensearch.common.lease.Releasable
 
close() - Method in class org.opensearch.common.lifecycle.AbstractLifecycleComponent
 
close() - Method in class org.opensearch.common.recycler.NoneRecycler.NV
 
close() - Method in interface org.opensearch.common.StopWatch.TimingHandle
 
close(boolean, Iterable<Releasable>) - Static method in enum org.opensearch.common.lease.Releasables
Release the provided Releasables, ignoring exceptions if success is false.
close(boolean, Releasable...) - Static method in enum org.opensearch.common.lease.Releasables
Release the provided Releasables, ignoring exceptions if success is false.
close(Closeable) - Static method in class org.opensearch.common.util.io.IOUtils
 
close(Closeable...) - Static method in class org.opensearch.common.util.io.IOUtils
Closes all given Closeables.
close(Exception, Closeable...) - Static method in class org.opensearch.common.util.io.IOUtils
Closes all given Closeables.
close(Exception, Iterable<? extends Closeable>) - Static method in class org.opensearch.common.util.io.IOUtils
Closes all given Closeables.
close(Iterable<? extends Closeable>) - Static method in class org.opensearch.common.util.io.IOUtils
Closes all given Closeables.
close(Iterable<? extends Releasable>) - Static method in enum org.opensearch.common.lease.Releasables
Release the provided Releasables.
close(Releasable) - Static method in enum org.opensearch.common.lease.Releasables
Release the provided Releasable.
close(Releasable...) - Static method in enum org.opensearch.common.lease.Releasables
Release the provided Releasables.
closed() - Method in class org.opensearch.common.lifecycle.Lifecycle
Returns true if the state is closed.
CLOSED - Enum constant in enum org.opensearch.common.lifecycle.Lifecycle.State
 
closeInternal() - Method in class org.opensearch.common.util.concurrent.AbstractRefCounted
 
closeWhileHandlingException(Closeable) - Static method in class org.opensearch.common.util.io.IOUtils
 
closeWhileHandlingException(Closeable...) - Static method in class org.opensearch.common.util.io.IOUtils
Closes all given Closeables, suppressing all thrown exceptions.
closeWhileHandlingException(Iterable<? extends Closeable>) - Static method in class org.opensearch.common.util.io.IOUtils
Closes all given Closeables, suppressing all thrown exceptions.
closeWhileHandlingException(Iterable<? extends Releasable>) - Static method in enum org.opensearch.common.lease.Releasables
Release the provided Releasables, ignoring exceptions.
closeWhileHandlingException(Releasable...) - Static method in enum org.opensearch.common.lease.Releasables
Release the provided Releasables, ignoring exceptions.
compareTo(TimeValue) - Method in class org.opensearch.common.unit.TimeValue
 
CompletableContext<T> - Class in org.opensearch.common.concurrent
A thread-safe completable context that allows listeners to be attached.
CompletableContext() - Constructor for class org.opensearch.common.concurrent.CompletableContext
 
complete(T) - Method in class org.opensearch.common.concurrent.CompletableContext
 
completeExceptionally(Exception) - Method in class org.opensearch.common.concurrent.CompletableContext
 
concat(Iterator<? extends T>...) - Static method in class org.opensearch.common.collect.Iterators
Concat iterators
concurrent(Recycler.Factory<T>) - Static method in enum org.opensearch.common.recycler.Recyclers
 
concurrent(Recycler.Factory<T>, int) - Static method in enum org.opensearch.common.recycler.Recyclers
Create a concurrent implementation that can support concurrent access from concurrencyLevel threads with little contention.
ConcurrentCollections - Class in org.opensearch.common.util.concurrent
Thread safe collection base class.
concurrentDeque(Recycler.C<T>, int) - Static method in enum org.opensearch.common.recycler.Recyclers
Return a concurrent recycler based on a deque.
ConcurrentDequeRecycler<T> - Class in org.opensearch.common.recycler
A Recycler implementation based on a concurrent Deque.
ConcurrentDequeRecycler(Recycler.C<T>, int) - Constructor for class org.opensearch.common.recycler.ConcurrentDequeRecycler
 
ConcurrentHashMapLong<T> - Class in org.opensearch.common.util.concurrent
Thread safe hash map of longs.
ConcurrentHashMapLong(ConcurrentMap<Long, T>) - Constructor for class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 
ConcurrentMapLong<T> - Interface in org.opensearch.common.util.concurrent
Thread safe long value hash map
constantTimeEquals(char[], char[]) - Static method in class org.opensearch.common.CharArrays
Constant time equality check of char arrays to avoid potential timing attacks.
constantTimeEquals(String, String) - Static method in class org.opensearch.common.CharArrays
Constant time equality check of strings to avoid potential timing attacks.
containsKey(Object) - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 
containsKey(K) - Method in class org.opensearch.common.collect.MapBuilder
 
containsUtcMillis(long) - Method in class org.opensearch.common.LocalTimeOffset
Does this offset contain the provided time?
containsUtcMillis(long) - Method in class org.opensearch.common.LocalTimeOffset.Transition
 
containsValue(Object) - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 
copy(InputStream, OutputStream) - Static method in class org.opensearch.common.util.io.Streams
 
copy(InputStream, OutputStream, boolean) - Static method in class org.opensearch.common.util.io.Streams
 
copy(InputStream, OutputStream, byte[]) - Static method in class org.opensearch.common.util.io.Streams
 
copy(InputStream, OutputStream, byte[], boolean) - Static method in class org.opensearch.common.util.io.Streams
Copy the contents of the given InputStream to the given OutputStream.
copyOf(Collection<? extends T>) - Static method in class org.opensearch.common.collect.List
Deprecated.
Delegates to the Java9 List.copyOf() method.
copyOf(Collection<? extends T>) - Static method in class org.opensearch.common.collect.Set
Deprecated.
Delegates to the Java10 Set.copyOf method.
copyOf(Map<? extends K, ? extends V>) - Static method in class org.opensearch.common.collect.Map
Deprecated.
Delegates to the Java10 Map.copyOf() method.
createCIDR(long, int) - Static method in class org.opensearch.common.network.Cidrs
 
createDecryptingStream(InputStream) - Method in interface org.opensearch.common.crypto.CryptoHandler
This method accepts an encrypted stream and provides a decrypting wrapper.
createDecryptingStreamOfRange(U, long, long) - Method in interface org.opensearch.common.crypto.CryptoHandler
This method creates a DecryptedRangedStreamProvider which provides a wrapped stream to decrypt the underlying stream.
createEncryptingStream(T, InputStreamContainer) - Method in interface org.opensearch.common.crypto.CryptoHandler
Wraps a raw InputStream with encrypting stream
createEncryptingStreamOfPart(T, InputStreamContainer, int, int) - Method in interface org.opensearch.common.crypto.CryptoHandler
Provides encrypted stream for a raw stream emitted for a part of content.
CryptoHandler<T,U> - Interface in org.opensearch.common.crypto
Crypto provider abstractions for encryption and decryption of data.

D

DataKeyPair - Class in org.opensearch.common.crypto
Key pair generated by MasterKeyProvider
DataKeyPair(byte[], byte[]) - Constructor for class org.opensearch.common.crypto.DataKeyPair
Constructor to initialize key-pair values
days() - Method in class org.opensearch.common.unit.TimeValue
 
daysFrac() - Method in class org.opensearch.common.unit.TimeValue
 
decRef() - Method in class org.opensearch.common.util.concurrent.AbstractRefCounted
 
decRef() - Method in interface org.opensearch.common.util.concurrent.RefCounted
Decreases the refCount of this instance.
DecryptedRangedStreamProvider - Class in org.opensearch.common.crypto
Contains adjusted range of partial encrypted content which needs to be used for decryption.
DecryptedRangedStreamProvider(long[], UnaryOperator<InputStream>) - Constructor for class org.opensearch.common.crypto.DecryptedRangedStreamProvider
To construct adjusted encrypted range.
decryptKey(byte[]) - Method in interface org.opensearch.common.crypto.MasterKeyProvider
Returns decrypted key against the encrypted key.
deleteFilesIgnoringExceptions(Path...) - Static method in class org.opensearch.common.util.io.IOUtils
Deletes all given files, suppressing all thrown IOExceptions.
deleteFilesIgnoringExceptions(Collection<? extends Path>) - Static method in class org.opensearch.common.util.io.IOUtils
Deletes all given files, suppressing all thrown IOExceptions.
DeprecatedApi - Annotation Type in org.opensearch.common.annotation
Marks the public APIs as deprecated and scheduled for removal in one of the upcoming major releases.
deque(Recycler.C<T>, int) - Static method in enum org.opensearch.common.recycler.Recyclers
Return a recycler based on a deque.
dequeFactory(Recycler.C<T>, int) - Static method in enum org.opensearch.common.recycler.Recyclers
Return a recycler based on a deque.
DequeRecycler<T> - Class in org.opensearch.common.recycler
A Recycler implementation based on a Deque.
DequeRecycler(Recycler.C<T>, Deque<T>, int) - Constructor for class org.opensearch.common.recycler.DequeRecycler
 
destroy(T) - Method in class org.opensearch.common.recycler.AbstractRecyclerC
 
destroy(T) - Method in interface org.opensearch.common.recycler.Recycler.C
Destroy the data.
difference(Set<T>, Set<T>) - Static method in class org.opensearch.common.util.set.Sets
The relative complement, or difference, of the specified left and right set.
doClose() - Method in class org.opensearch.common.lifecycle.AbstractLifecycleComponent
 
doStart() - Method in class org.opensearch.common.lifecycle.AbstractLifecycleComponent
 
doStop() - Method in class org.opensearch.common.lifecycle.AbstractLifecycleComponent
 
duration() - Method in class org.opensearch.common.unit.TimeValue
 

E

EncryptedHeaderContentSupplier - Interface in org.opensearch.common.crypto
This is used in partial decryption.
entry(K, V) - Static method in class org.opensearch.common.collect.Map
Deprecated.
Delegates to the Java9 Map.entry() method.
entrySet() - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 
equals(Object) - Method in class org.opensearch.common.collect.Tuple
Returns true if the given object is also a tuple and the two tuples have equal Tuple.v1() and Tuple.v2() values.
equals(Object) - Method in class org.opensearch.common.Explicit
 
equals(Object) - Method in class org.opensearch.common.unit.TimeValue
 
equals(Object) - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 
estimateDecryptedLength(U, long) - Method in interface org.opensearch.common.crypto.CryptoHandler
For given encrypted content length, estimate the length of the decrypted content.
estimateEncryptedLengthOfEntireContent(T, long) - Method in interface org.opensearch.common.crypto.CryptoHandler
Estimate length of the encrypted content.
ExperimentalApi - Annotation Type in org.opensearch.common.annotation
Experimental APIs that may not retain source and binary compatibility within major, minor or patch releases.
explicit() - Method in class org.opensearch.common.Explicit
 
Explicit<T> - Class in org.opensearch.common
Holds a value that is either: a) set implicitly e.g.
Explicit(T, boolean) - Constructor for class org.opensearch.common.Explicit
Create a value with an indication if this was an explicit choice
ExponentiallyWeightedMovingAverage - Class in org.opensearch.common
Implements exponentially weighted moving averages (commonly abbreviated EWMA) for a single value.
ExponentiallyWeightedMovingAverage(double, double) - Constructor for class org.opensearch.common.ExponentiallyWeightedMovingAverage
Create a new EWMA with a given alpha and initialAvg.
extractAndRegister(List<P>, Function<P, Map<String, T>>) - Method in class org.opensearch.common.NamedRegistry
 

F

firstMissingLocalTime() - Method in class org.opensearch.common.LocalTimeOffset.Gap
The first time that is missing from the local time because of this gap.
firstNonOverlappingLocalTime() - Method in class org.opensearch.common.LocalTimeOffset.Overlap
The first local time after the overlap stops.
firstOverlappingLocalTime() - Method in class org.opensearch.common.LocalTimeOffset.Overlap
The first local time to be appear twice.
fixedInRange(long, long) - Method in class org.opensearch.common.LocalTimeOffset.Lookup
If the offset for a range is constant then return it, otherwise return null.
fixedOffset(ZoneId) - Static method in class org.opensearch.common.LocalTimeOffset
Lookup offsets without any known min or max time.
format(InetAddress) - Static method in class org.opensearch.common.network.NetworkAddress
Formats a network address for display purposes.
format(InetAddress, int) - Static method in class org.opensearch.common.network.NetworkAddress
Formats a network address and port for display purposes.
format(InetAddress, PortsRange) - Static method in class org.opensearch.common.network.NetworkAddress
Formats a network address and port range for display purposes.
format(InetSocketAddress) - Static method in class org.opensearch.common.network.NetworkAddress
Formats a network address and port for display purposes.
forRemoval() - Element in annotation type org.opensearch.common.annotation.DeprecatedApi
Next major version when this API is scheduled for removal
forString(String) - Static method in class org.opensearch.common.network.InetAddresses
Returns the InetAddress having the given string representation.
fsync(Path, boolean) - Static method in class org.opensearch.common.util.io.IOUtils
Ensure that any writes to the given file is written to the storage device that contains it.

G

generateDataPair() - Method in interface org.opensearch.common.crypto.MasterKeyProvider
Returns data key pair
get() - Method in interface org.opensearch.common.CheckedSupplier
 
get() - Method in class org.opensearch.common.MemoizedSupplier
 
get() - Method in class org.opensearch.common.SetOnce
Returns the object set by SetOnce.set(Object).
get(long) - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 
get(long) - Method in interface org.opensearch.common.util.concurrent.ConcurrentMapLong
 
get(Object) - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 
get(String, String...) - Static method in class org.opensearch.common.io.PathUtils
Returns a Path from name components.
get(URI) - Static method in class org.opensearch.common.io.PathUtils
Returns a Path from a URI
get(Path[], String) - Static method in class org.opensearch.common.io.PathUtils
Tries to resolve the given path against the list of available roots.
get(Path[], URI) - Static method in class org.opensearch.common.io.PathUtils
Tries to resolve the given file uri against the list of available roots.
get(K) - Method in class org.opensearch.common.collect.MapBuilder
 
getAdjustedRange() - Method in class org.opensearch.common.crypto.DecryptedRangedStreamProvider
Adjusted range of partial encrypted content which needs to be used for decryption.
getAverage() - Method in class org.opensearch.common.ExponentiallyWeightedMovingAverage
 
getContentLength() - Method in class org.opensearch.common.io.InputStreamContainer
 
getDays() - Method in class org.opensearch.common.unit.TimeValue
 
getDaysFrac() - Method in class org.opensearch.common.unit.TimeValue
 
getDecryptedStreamProvider() - Method in class org.opensearch.common.crypto.DecryptedRangedStreamProvider
A utility stream provider which supplies the stream responsible for decrypting the content and reading the desired range of decrypted content by skipping extra content which got decrypted as a result of range adjustment.
getDefaultFileSystem() - Static method in class org.opensearch.common.io.PathUtils
Returns the default FileSystem.
getDetected() - Method in class org.opensearch.bootstrap.JdkJarHellCheck
 
getEncryptedKey() - Method in class org.opensearch.common.crypto.DataKeyPair
Returns encrypted key
getEncryptionContext() - Method in interface org.opensearch.common.crypto.MasterKeyProvider
Returns encryption context associated with this master key.
getHours() - Method in class org.opensearch.common.unit.TimeValue
 
getHoursFrac() - Method in class org.opensearch.common.unit.TimeValue
 
getInputStream() - Method in class org.opensearch.common.io.InputStreamContainer
 
getKeyId() - Method in interface org.opensearch.common.crypto.MasterKeyProvider
Returns key id.
getMessage() - Method in exception org.opensearch.common.ValidationException
 
getMicros() - Method in class org.opensearch.common.unit.TimeValue
 
getMicrosFrac() - Method in class org.opensearch.common.unit.TimeValue
 
getMillis() - Method in class org.opensearch.common.unit.TimeValue
 
getMillisFrac() - Method in class org.opensearch.common.unit.TimeValue
 
getMinutes() - Method in class org.opensearch.common.unit.TimeValue
 
getMinutesFrac() - Method in class org.opensearch.common.unit.TimeValue
 
getName() - Method in class org.opensearch.common.util.concurrent.AbstractRefCounted
gets the name of this instance
getNanos() - Method in class org.opensearch.common.unit.TimeValue
 
getOffset() - Method in class org.opensearch.common.io.InputStreamContainer
 
getPackageName(Class<?>) - Static method in class org.opensearch.common.Classes
Determine the name of the package of the given class: e.g.
getPortRangeString() - Method in class org.opensearch.common.transport.PortsRange
 
getRawKey() - Method in class org.opensearch.common.crypto.DataKeyPair
Returns Unencrypted data key
getRegistry() - Method in class org.opensearch.common.NamedRegistry
 
getSeconds() - Method in class org.opensearch.common.unit.TimeValue
 
getSecondsFrac() - Method in class org.opensearch.common.unit.TimeValue
 
getSecureMungedAddress() - Static method in class org.opensearch.common.MacAddressProvider
 
getStringRep() - Method in class org.opensearch.common.unit.TimeValue
 
getTaskName() - Method in class org.opensearch.common.StopWatch.TaskInfo
Return the name of this task.
getTcpKeepCountSocketOptionOrNull() - Static method in class org.opensearch.common.util.net.NetUtils
Returns the extended TCP_KEEPCOUNT socket option, if available on this JDK
getTcpKeepIdleSocketOptionOrNull() - Static method in class org.opensearch.common.util.net.NetUtils
Returns the extended TCP_KEEPIDLE socket option, if available on this JDK
getTcpKeepIntervalSocketOptionOrNull() - Static method in class org.opensearch.common.util.net.NetUtils
Returns the extended TCP_KEEPINTERVAL socket option, if available on this JDK
getTime() - Method in class org.opensearch.common.StopWatch.TaskInfo
Return the time this task took.
Glob - Class in org.opensearch.common
Utility class for glob-like matching
Glob() - Constructor for class org.opensearch.common.Glob
 
globMatch(String, String) - Static method in class org.opensearch.common.Glob
Match a String against the given pattern, supporting the following simple pattern styles: "xxx*", "*xxx", "*xxx*" and "xxx*yyy" matches (with an arbitrary number of pattern parts), as well as direct equality.

H

hash(byte[], int, int) - Static method in class org.opensearch.common.hash.T1ha1
Returns the hash code for the specified range of the given byte array.
hash(byte[], int, int, long) - Static method in class org.opensearch.common.hash.T1ha1
Returns the hash code for the specified range of the given byte array.
hashCode() - Method in class org.opensearch.common.collect.Tuple
Returns the hash code value for this Tuple.
hashCode() - Method in class org.opensearch.common.Explicit
 
hashCode() - Method in class org.opensearch.common.unit.TimeValue
 
hashCode() - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 
haveEmptyIntersection(Set<T>, Set<T>) - Static method in class org.opensearch.common.util.set.Sets
 
hours() - Method in class org.opensearch.common.unit.TimeValue
 
hoursFrac() - Method in class org.opensearch.common.unit.TimeValue
 

I

immutableMap() - Method in class org.opensearch.common.collect.MapBuilder
Build an immutable copy of the map under construction.
incRef() - Method in class org.opensearch.common.util.concurrent.AbstractRefCounted
 
incRef() - Method in interface org.opensearch.common.util.concurrent.RefCounted
Increments the refCount of this instance.
InetAddresses - Class in org.opensearch.common.network
Network addresses.
InetAddresses() - Constructor for class org.opensearch.common.network.InetAddresses
 
inGap(long, LocalTimeOffset.Gap) - Method in interface org.opensearch.common.LocalTimeOffset.Strategy
Handle a local time that never actually happened because a "gap" jumped over it.
initEncryptionMetadata() - Method in interface org.opensearch.common.crypto.CryptoHandler
To initialise or create a new crypto metadata to be used in encryption.
initialized() - Method in class org.opensearch.common.lifecycle.Lifecycle
Returns true if the state is initialized.
INITIALIZED - Enum constant in enum org.opensearch.common.lifecycle.Lifecycle.State
 
inOverlap(long, LocalTimeOffset.Overlap) - Method in interface org.opensearch.common.LocalTimeOffset.Strategy
Handle a local time that happened twice because an "overlap" jumped behind it.
InputStreamContainer - Class in org.opensearch.common.io
Model composed of an input stream and the total content length of the stream
InputStreamContainer(InputStream, long, long) - Constructor for class org.opensearch.common.io.InputStreamContainer
Construct a new stream object
InternalApi - Annotation Type in org.opensearch.common.annotation
Internal APIs that have no compatibility guarantees and should be not used outside of OpenSearch core components.
intersection(Set<T>, Set<T>) - Static method in class org.opensearch.common.util.set.Sets
 
IOUtils - Class in org.opensearch.common.util.io
Utilities for common I/O methods.
isBoolean(char[], int, int) - Static method in class org.opensearch.common.Booleans
returns true iff the sequence of chars is one of "true","false".
isBoolean(String) - Static method in class org.opensearch.common.Booleans
 
isBooleanLenient(char[], int, int) - Static method in class org.opensearch.common.Booleans
Deprecated.
Only kept to provide automatic upgrades for pre 6.0 indices. Use Booleans.isBoolean(char[], int, int) instead.
isCloseConnectionException(Throwable) - Static method in class org.opensearch.common.transport.NetworkExceptionHelper
 
isCompletedExceptionally() - Method in class org.opensearch.common.concurrent.CompletableContext
 
isConcrete(Class<?>) - Static method in class org.opensearch.common.Classes
 
isConnectException(Throwable) - Static method in class org.opensearch.common.transport.NetworkExceptionHelper
 
isDone() - Method in class org.opensearch.common.concurrent.CompletableContext
 
isEmpty() - Method in class org.opensearch.common.collect.MapBuilder
 
isEmpty() - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 
isFalse(String) - Static method in class org.opensearch.common.Booleans
 
isInetAddress(String) - Static method in class org.opensearch.common.network.InetAddresses
 
isInnerClass(Class<?>) - Static method in class org.opensearch.common.Classes
 
isRecycled() - Method in class org.opensearch.common.recycler.NoneRecycler.NV
 
isRecycled() - Method in interface org.opensearch.common.recycler.Recycler.V
Whether this instance has been recycled (true) or newly allocated (false).
isRunning() - Method in class org.opensearch.common.StopWatch
Return whether the stop watch is currently running.
isTrue(String) - Static method in class org.opensearch.common.Booleans
 
isValidDouble(double) - Static method in class org.opensearch.common.Numbers
Returns true if value is neither NaN nor infinite.
iterate(PortsRange.PortCallback) - Method in class org.opensearch.common.transport.PortsRange
 
Iterators - Class in org.opensearch.common.collect
Iterators utility class.
Iterators() - Constructor for class org.opensearch.common.collect.Iterators
 

J

JarHell - Class in org.opensearch.bootstrap
Simple check for duplicate class files across the classpath.
JdkJarHellCheck - Class in org.opensearch.bootstrap
CLI tool for checking jar hell
JdkJarHellCheck() - Constructor for class org.opensearch.bootstrap.JdkJarHellCheck
 

K

keySet() - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 

L

lastTaskTime() - Method in class org.opensearch.common.StopWatch
Return the time taken by the last task.
lifecycle - Variable in class org.opensearch.common.lifecycle.AbstractLifecycleComponent
 
Lifecycle - Class in org.opensearch.common.lifecycle
Lifecycle state.
Lifecycle() - Constructor for class org.opensearch.common.lifecycle.Lifecycle
 
Lifecycle.State - Enum in org.opensearch.common.lifecycle
State in the lifecycle
LifecycleComponent - Interface in org.opensearch.common.lifecycle
Base interface for a lifecycle component.
LifecycleListener - Class in org.opensearch.common.lifecycle
Base lifecycle listener.
LifecycleListener() - Constructor for class org.opensearch.common.lifecycle.LifecycleListener
 
lifecycleState() - Method in class org.opensearch.common.lifecycle.AbstractLifecycleComponent
 
lifecycleState() - Method in interface org.opensearch.common.lifecycle.LifecycleComponent
 
LINUX - Static variable in class org.opensearch.common.util.io.IOUtils
 
List - Class in org.opensearch.common.collect
Deprecated, for removal: This API element is subject to removal in a future version.
List() - Constructor for class org.opensearch.common.collect.List
Deprecated.
 
loadEncryptionMetadata(EncryptedHeaderContentSupplier) - Method in interface org.opensearch.common.crypto.CryptoHandler
To load crypto metadata to be used in encryption from content header.
LocalTimeOffset - Class in org.opensearch.common
Converts utc into local time and back again.
LocalTimeOffset.Gap - Class in org.opensearch.common
Gap for a local time offset
LocalTimeOffset.Lookup - Class in org.opensearch.common
How to get instances of LocalTimeOffset.
LocalTimeOffset.Overlap - Class in org.opensearch.common
Overlap for a local time offset
LocalTimeOffset.Strategy - Interface in org.opensearch.common
Strategy for a local time
LocalTimeOffset.Transition - Class in org.opensearch.common
Transition for a local time offset
localToUtc(long, LocalTimeOffset.Strategy) - Method in class org.opensearch.common.LocalTimeOffset.Gap
 
localToUtc(long, LocalTimeOffset.Strategy) - Method in class org.opensearch.common.LocalTimeOffset
Convert a local time that occurs during this offset or a previous offset to utc, providing a strategy for how to resolve "funny" cases.
localToUtc(long, LocalTimeOffset.Strategy) - Method in class org.opensearch.common.LocalTimeOffset.Overlap
 
localToUtcInThisOffset(long) - Method in class org.opensearch.common.LocalTimeOffset
Convert a time in local millis to utc millis using this offset.
locked(Recycler<T>) - Static method in enum org.opensearch.common.recycler.Recyclers
Wrap the provided recycler so that calls to Recycler.obtain() and Releasable.close() are protected by a lock.
longToBytes(long) - Static method in class org.opensearch.common.Numbers
Converts a long to a byte array.
lookup(long) - Method in class org.opensearch.common.LocalTimeOffset.Lookup
Lookup the offset at the provided millis in utc.
lookup(ZoneId, long, long) - Static method in class org.opensearch.common.LocalTimeOffset
Lookup offsets for a provided zone.
Lookup() - Constructor for class org.opensearch.common.LocalTimeOffset.Lookup
 

M

MAC_OS_X - Static variable in class org.opensearch.common.util.io.IOUtils
 
MacAddressProvider - Class in org.opensearch.common
Provider of MAC addressing
MacAddressProvider() - Constructor for class org.opensearch.common.MacAddressProvider
 
main(String[]) - Static method in class org.opensearch.bootstrap.JarHell
Simple driver class, can be used eg.
main(String[]) - Static method in class org.opensearch.bootstrap.JdkJarHellCheck
 
map() - Method in class org.opensearch.common.collect.MapBuilder
 
Map - Class in org.opensearch.common.collect
Deprecated, for removal: This API element is subject to removal in a future version.
Map() - Constructor for class org.opensearch.common.collect.Map
Deprecated.
 
MapBuilder<K,V> - Class in org.opensearch.common.collect
Builder for a map.
MapBuilder() - Constructor for class org.opensearch.common.collect.MapBuilder
 
MapBuilder(Map<K, V>) - Constructor for class org.opensearch.common.collect.MapBuilder
 
MasterKeyProvider - Interface in org.opensearch.common.crypto
Master key provider responsible for management of master keys.
MAX_UNSIGNED_LONG_VALUE - Static variable in class org.opensearch.common.Numbers
 
MAX_UNSIGNED_LONG_VALUE_AS_LONG - Static variable in class org.opensearch.common.Numbers
 
MAX_VALUE - Static variable in class org.opensearch.common.unit.TimeValue
 
MemoizedSupplier<T> - Class in org.opensearch.common
A base supplier using memoization optimization technique
MemoizedSupplier(Supplier<T>) - Constructor for class org.opensearch.common.MemoizedSupplier
 
micros() - Method in class org.opensearch.common.unit.TimeValue
 
microsFrac() - Method in class org.opensearch.common.unit.TimeValue
 
millis() - Method in class org.opensearch.common.unit.TimeValue
 
millisFrac() - Method in class org.opensearch.common.unit.TimeValue
 
MIN_UNSIGNED_LONG_VALUE - Static variable in class org.opensearch.common.Numbers
 
MIN_UNSIGNED_LONG_VALUE_AS_LONG - Static variable in class org.opensearch.common.Numbers
 
MINUS_ONE - Static variable in class org.opensearch.common.unit.TimeValue
 
minutes() - Method in class org.opensearch.common.unit.TimeValue
 
minutesFrac() - Method in class org.opensearch.common.unit.TimeValue
 
mix(byte) - Static method in class org.opensearch.common.util.BitMixer
 
mix(byte, int) - Static method in class org.opensearch.common.util.BitMixer
 
mix(char) - Static method in class org.opensearch.common.util.BitMixer
 
mix(char, int) - Static method in class org.opensearch.common.util.BitMixer
 
mix(double) - Static method in class org.opensearch.common.util.BitMixer
 
mix(double, int) - Static method in class org.opensearch.common.util.BitMixer
 
mix(float) - Static method in class org.opensearch.common.util.BitMixer
 
mix(float, int) - Static method in class org.opensearch.common.util.BitMixer
 
mix(int) - Static method in class org.opensearch.common.util.BitMixer
 
mix(int, int) - Static method in class org.opensearch.common.util.BitMixer
 
mix(long) - Static method in class org.opensearch.common.util.BitMixer
 
mix(long, int) - Static method in class org.opensearch.common.util.BitMixer
 
mix(short) - Static method in class org.opensearch.common.util.BitMixer
 
mix(short, int) - Static method in class org.opensearch.common.util.BitMixer
 
mix(Object) - Static method in class org.opensearch.common.util.BitMixer
 
mix(Object, int) - Static method in class org.opensearch.common.util.BitMixer
 
mix32(int) - Static method in class org.opensearch.common.util.BitMixer
MH3's plain finalization step.
mix64(long) - Static method in class org.opensearch.common.util.BitMixer
Computes David Stafford variant 9 of 64bit mix function (MH3 finalization step, with different shifts and constants).
mixPhi(byte) - Static method in class org.opensearch.common.util.BitMixer
 
mixPhi(char) - Static method in class org.opensearch.common.util.BitMixer
 
mixPhi(double) - Static method in class org.opensearch.common.util.BitMixer
 
mixPhi(float) - Static method in class org.opensearch.common.util.BitMixer
 
mixPhi(int) - Static method in class org.opensearch.common.util.BitMixer
 
mixPhi(long) - Static method in class org.opensearch.common.util.BitMixer
 
mixPhi(short) - Static method in class org.opensearch.common.util.BitMixer
 
mixPhi(Object) - Static method in class org.opensearch.common.util.BitMixer
 
moveToClosed() - Method in class org.opensearch.common.lifecycle.Lifecycle
 
moveToStarted() - Method in class org.opensearch.common.lifecycle.Lifecycle
 
moveToStopped() - Method in class org.opensearch.common.lifecycle.Lifecycle
 

N

NamedRegistry<T> - Class in org.opensearch.common
A registry from String to some class implementation.
NamedRegistry(String) - Constructor for class org.opensearch.common.NamedRegistry
 
nanos() - Method in class org.opensearch.common.unit.TimeValue
 
NetUtils - Class in org.opensearch.common.util.net
Utilities for network-related methods.
NetUtils() - Constructor for class org.opensearch.common.util.net.NetUtils
 
NetworkAddress - Class in org.opensearch.common.network
Utility functions for presentation of network addresses.
NetworkExceptionHelper - Class in org.opensearch.common.transport
Helper class for network exceptions.
NetworkExceptionHelper() - Constructor for class org.opensearch.common.transport.NetworkExceptionHelper
 
newBlockingQueue() - Static method in class org.opensearch.common.util.concurrent.ConcurrentCollections
 
newConcurrentHashSet() - Static method in class org.opensearch.common.util.set.Sets
 
newConcurrentMap() - Static method in class org.opensearch.common.util.concurrent.ConcurrentCollections
 
newConcurrentMapLong() - Static method in class org.opensearch.common.util.concurrent.ConcurrentCollections
 
newConcurrentMapLongWithAggressiveConcurrency() - Static method in class org.opensearch.common.util.concurrent.ConcurrentCollections
Creates a new CHM with an aggressive concurrency level, aimed at highly updateable long living maps.
newConcurrentMapWithAggressiveConcurrency() - Static method in class org.opensearch.common.util.concurrent.ConcurrentCollections
Creates a new CHM with an aggressive concurrency level, aimed at high concurrent update rate long living maps.
newConcurrentMapWithAggressiveConcurrency(int) - Static method in class org.opensearch.common.util.concurrent.ConcurrentCollections
Creates a new CHM with an aggressive concurrency level, aimed at high concurrent update rate long living maps.
newConcurrentSet() - Static method in class org.opensearch.common.util.concurrent.ConcurrentCollections
 
newDeque() - Static method in class org.opensearch.common.util.concurrent.ConcurrentCollections
 
newHashSet(Iterable<T>) - Static method in class org.opensearch.common.util.set.Sets
 
newHashSet(Iterator<T>) - Static method in class org.opensearch.common.util.set.Sets
 
newHashSet(T...) - Static method in class org.opensearch.common.util.set.Sets
 
newInstance() - Method in class org.opensearch.common.recycler.AbstractRecyclerC
 
newInstance() - Method in interface org.opensearch.common.recycler.Recycler.C
Create a new empty instance of the given size.
newMapBuilder() - Static method in class org.opensearch.common.collect.MapBuilder
 
newMapBuilder(Map<K, V>) - Static method in class org.opensearch.common.collect.MapBuilder
 
newQueue() - Static method in class org.opensearch.common.util.concurrent.ConcurrentCollections
 
nextPowerOfTwo(long) - Static method in class org.opensearch.common.Numbers
Return the strictly greater next power of two for the given value.
none(Recycler.C<T>) - Static method in enum org.opensearch.common.recycler.Recyclers
Return a Recycler that never recycles entries.
NoneRecycler<T> - Class in org.opensearch.common.recycler
No value recycler
NoneRecycler(Recycler.C<T>) - Constructor for class org.opensearch.common.recycler.NoneRecycler
 
NoneRecycler.NV<T> - Class in org.opensearch.common.recycler
Generic no value recycler
NSEC_PER_MSEC - Static variable in class org.opensearch.common.unit.TimeValue
How many nano-seconds in one milli-second
nsecToMSec(long) - Static method in class org.opensearch.common.unit.TimeValue
 
Nullable - Annotation Type in org.opensearch.common
The presence of this annotation on a method parameter indicates that null is an acceptable value for that parameter.
Numbers - Class in org.opensearch.common
A set of utilities for numbers.

O

obtain() - Method in class org.opensearch.common.recycler.ConcurrentDequeRecycler
 
obtain() - Method in class org.opensearch.common.recycler.DequeRecycler
 
obtain() - Method in class org.opensearch.common.recycler.NoneRecycler
 
obtain() - Method in interface org.opensearch.common.recycler.Recycler
 
of() - Static method in class org.opensearch.common.collect.List
Deprecated.
Delegates to the Java9 List.of() method.
of() - Static method in class org.opensearch.common.collect.Map
Deprecated.
Delegates to the Java9 Map.of() method.
of() - Static method in class org.opensearch.common.collect.Set
Deprecated.
Delegates to the Java9 Set.of() method.
of(K, V) - Static method in class org.opensearch.common.collect.Map
Deprecated.
Delegates to the Java9 Map.of() method.
of(K, V, K, V) - Static method in class org.opensearch.common.collect.Map
Deprecated.
Delegates to the Java9 Map.of() method.
of(K, V, K, V, K, V) - Static method in class org.opensearch.common.collect.Map
Deprecated.
Delegates to the Java9 Map.of() method.
of(K, V, K, V, K, V, K, V) - Static method in class org.opensearch.common.collect.Map
Deprecated.
Delegates to the Java9 Map.of() method.
of(K, V, K, V, K, V, K, V, K, V) - Static method in class org.opensearch.common.collect.Map
Deprecated.
Delegates to the Java9 Map.of() method.
of(K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class org.opensearch.common.collect.Map
Deprecated.
Delegates to the Java9 Map.of() method.
of(K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class org.opensearch.common.collect.Map
Deprecated.
Delegates to the Java9 Map.of() method.
of(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class org.opensearch.common.collect.Map
Deprecated.
Delegates to the Java9 Map.of() method.
of(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class org.opensearch.common.collect.Map
Deprecated.
Delegates to the Java9 Map.of() method.
of(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class org.opensearch.common.collect.Map
Deprecated.
Delegates to the Java9 Map.of() method.
of(T) - Static method in class org.opensearch.common.collect.List
Deprecated.
Delegates to the Java9 List.of() method.
of(T) - Static method in class org.opensearch.common.collect.Set
Deprecated.
Delegates to the Java9 Set.of() method.
of(T...) - Static method in class org.opensearch.common.collect.List
Deprecated.
Delegates to the Java9 List.of() method.
of(T...) - Static method in class org.opensearch.common.collect.Set
Deprecated.
Delegates to the Java9 Set.of() method.
of(T, T) - Static method in class org.opensearch.common.collect.List
Deprecated.
Delegates to the Java9 List.of() method.
of(T, T) - Static method in class org.opensearch.common.collect.Set
Deprecated.
Delegates to the Java9 Set.of() method.
ofEntries(Map.Entry<? extends K, ? extends V>...) - Static method in class org.opensearch.common.collect.Map
Deprecated.
Delegates to the Java9 Map.ofEntries() method.
offsetContaining(long) - Method in class org.opensearch.common.LocalTimeOffset
Find the offset containing the provided time, first checking this offset, then its previous offset, the than one's previous offset, etc.
offsetContaining(long) - Method in class org.opensearch.common.LocalTimeOffset.Transition
 
onPortNumber(int) - Method in interface org.opensearch.common.transport.PortsRange.PortCallback
 
OpenSearchSloppyMath - Class in org.opensearch.common.util
Similar to Lucene's SloppyMath, but for additional math functions.
org.opensearch.bootstrap - package org.opensearch.bootstrap
Contains JarHell Classes
org.opensearch.common - package org.opensearch.common
Common Library of Utilties and Data Structures used across OpenSearch.
org.opensearch.common.action - package org.opensearch.common.action
foundation action classes used across the code base
org.opensearch.common.annotation - package org.opensearch.common.annotation
The OpenSearch API related annotations
org.opensearch.common.collect - package org.opensearch.common.collect
Common collections classes used across opensearch.
org.opensearch.common.concurrent - package org.opensearch.common.concurrent
Common concurrency utilities used across opensearch.
org.opensearch.common.crypto - package org.opensearch.common.crypto
Common crypto utilities used across opensearch.
org.opensearch.common.hash - package org.opensearch.common.hash
Common hashing utilities.
org.opensearch.common.io - package org.opensearch.common.io
Common i/o utilities used across opensearch.
org.opensearch.common.lease - package org.opensearch.common.lease
Base Releasables package.
org.opensearch.common.lifecycle - package org.opensearch.common.lifecycle
Foundation implementation for a object lifecycle.
org.opensearch.common.network - package org.opensearch.common.network
common network layer classes used across the code base
org.opensearch.common.recycler - package org.opensearch.common.recycler
Common Recycler functionality for recycling objects
org.opensearch.common.transport - package org.opensearch.common.transport
common transport layer classes used across the code base
org.opensearch.common.unit - package org.opensearch.common.unit
Common units of measurement used across opensearch.
org.opensearch.common.util - package org.opensearch.common.util
Common utilities used across opensearch.
org.opensearch.common.util.concurrent - package org.opensearch.common.util.concurrent
Common concurrency utilities used across opensearch.
org.opensearch.common.util.io - package org.opensearch.common.util.io
Common internal I/O utility classes
org.opensearch.common.util.net - package org.opensearch.common.util.net
Common Network Utility Classes
org.opensearch.common.util.set - package org.opensearch.common.util.set
Base Set collection utility package.

P

parseBoolean(char[], int, int, boolean) - Static method in class org.opensearch.common.Booleans
Parses a char[] representation of a boolean value to boolean.
parseBoolean(String) - Static method in class org.opensearch.common.Booleans
Parses a string representation of a boolean value to boolean.
parseBoolean(String, boolean) - Static method in class org.opensearch.common.Booleans
 
parseBoolean(String, Boolean) - Static method in class org.opensearch.common.Booleans
 
parseBooleanLenient(char[], int, int, boolean) - Static method in class org.opensearch.common.Booleans
Deprecated.
Only kept to provide automatic upgrades for pre 6.0 indices. Use Booleans.parseBoolean(char[], int, int, boolean) instead
parseBooleanLenient(String, boolean) - Static method in class org.opensearch.common.Booleans
Deprecated.
Only kept to provide automatic upgrades for pre 6.0 indices. Use Booleans.parseBoolean(String, boolean) instead.
parseBooleanLenient(String, Boolean) - Static method in class org.opensearch.common.Booleans
Deprecated.
Only kept to provide automatic upgrades for pre 6.0 indices. Use Booleans.parseBoolean(String, Boolean) instead.
parseCidr(String) - Static method in class org.opensearch.common.network.InetAddresses
Parse an IP address and its prefix length using the CIDR notation.
parseClassPath() - Static method in class org.opensearch.bootstrap.JarHell
Parses the classpath into an array of URLs
parseTimeValue(String, String) - Static method in class org.opensearch.common.unit.TimeValue
 
parseTimeValue(String, TimeValue, String) - Static method in class org.opensearch.common.unit.TimeValue
 
PathUtils - Class in org.opensearch.common.io
Utilities for creating a Path from names, or accessing the default FileSystem.
ports() - Method in class org.opensearch.common.transport.PortsRange
 
PortsRange - Class in org.opensearch.common.transport
Port range utility classes
PortsRange(String) - Constructor for class org.opensearch.common.transport.PortsRange
 
PortsRange.PortCallback - Interface in org.opensearch.common.transport
Callback for the port
prettyPrint() - Method in class org.opensearch.common.StopWatch
Return a string with a table describing all tasks performed.
previous() - Method in class org.opensearch.common.LocalTimeOffset.Transition
The offset before the this one.
PublicApi - Annotation Type in org.opensearch.common.annotation
Stable public APIs that retain source and binary compatibility within a major release.
put(long, T) - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 
put(long, T) - Method in interface org.opensearch.common.util.concurrent.ConcurrentMapLong
 
put(Long, T) - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 
put(K, V) - Method in class org.opensearch.common.collect.MapBuilder
 
putAll(Map<? extends Long, ? extends T>) - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 
putAll(Map<K, V>) - Method in class org.opensearch.common.collect.MapBuilder
 
putIfAbsent(Long, T) - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 

R

randomBase64UUID() - Static method in class org.opensearch.common.UUIDs
Returns a Base64 encoded version of a Version 4.0 compatible UUID as defined here: http://www.ietf.org/rfc/rfc4122.txt, using a private SecureRandom instance
randomBase64UUID(Random) - Static method in class org.opensearch.common.UUIDs
Returns a Base64 encoded version of a Version 4.0 compatible UUID as defined here: http://www.ietf.org/rfc/rfc4122.txt, using the provided Random instance
reason() - Element in annotation type org.opensearch.common.SuppressForbidden
 
reason() - Element in annotation type org.opensearch.common.SuppressLoggerChecks
 
recycle(T) - Method in class org.opensearch.common.recycler.AbstractRecyclerC
 
recycle(T) - Method in interface org.opensearch.common.recycler.Recycler.C
Recycle the data.
Recycler<T> - Interface in org.opensearch.common.recycler
A recycled object, note, implementations should support calling obtain and then recycle on different threads.
Recycler.C<T> - Interface in org.opensearch.common.recycler
Generic for recycler
Recycler.Factory<T> - Interface in org.opensearch.common.recycler
Base factory interface
Recycler.V<T> - Interface in org.opensearch.common.recycler
Generic releasable
Recyclers - Enum in org.opensearch.common.recycler
Utility class of recyclers.
refCount() - Method in class org.opensearch.common.util.concurrent.AbstractRefCounted
Returns the current reference count.
RefCounted - Interface in org.opensearch.common.util.concurrent
An interface for objects that need to be notified when all reference to itself are not in user anymore.
register(String, T) - Method in class org.opensearch.common.NamedRegistry
 
Releasable - Interface in org.opensearch.common.lease
Specialization of AutoCloseable for calls that might not throw a checked exception.
Releasables - Enum in org.opensearch.common.lease
Utility methods to work with Releasables.
releaseOnce(Releasable) - Static method in enum org.opensearch.common.lease.Releasables
Wraps a Releasable such that its Releasable.close() method can be called multiple times without double releasing.
remove(long) - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 
remove(long) - Method in interface org.opensearch.common.util.concurrent.ConcurrentMapLong
 
remove(Object) - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 
remove(Object, Object) - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 
remove(K) - Method in class org.opensearch.common.collect.MapBuilder
 
removeLifecycleListener(LifecycleListener) - Method in class org.opensearch.common.lifecycle.AbstractLifecycleComponent
 
removeLifecycleListener(LifecycleListener) - Method in interface org.opensearch.common.lifecycle.LifecycleComponent
 
replace(Long, T) - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 
replace(Long, T, T) - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 
rm(Path...) - Static method in class org.opensearch.common.util.io.IOUtils
Deletes one or more files or directories (and everything underneath it).
run() - Method in interface org.opensearch.common.CheckedRunnable
 

S

seconds() - Method in class org.opensearch.common.unit.TimeValue
 
secondsFrac() - Method in class org.opensearch.common.unit.TimeValue
 
set(T) - Method in class org.opensearch.common.SetOnce
Sets the given object.
Set - Class in org.opensearch.common.collect
Deprecated, for removal: This API element is subject to removal in a future version.
Set() - Constructor for class org.opensearch.common.collect.Set
Deprecated.
 
SetOnce<T> - Class in org.opensearch.common
A convenient class which offers a semi-immutable object wrapper implementation which allows one to set the value of an object exactly once, and retrieve it many times.
SetOnce() - Constructor for class org.opensearch.common.SetOnce
A default constructor which does not set the internal object, and allows setting it by calling SetOnce.set(Object).
SetOnce(T) - Constructor for class org.opensearch.common.SetOnce
Creates a new instance with the internal object set to the given object.
SetOnce.AlreadySetException - Exception in org.opensearch.common
Thrown when SetOnce.set(Object) is called more than once.
Sets - Class in org.opensearch.common.util.set
OpenSearch sets.
shortSummary() - Method in class org.opensearch.common.StopWatch
Return a short description of the total running time.
since() - Element in annotation type org.opensearch.common.annotation.DeprecatedApi
Version since this API is deprecated
since() - Element in annotation type org.opensearch.common.annotation.PublicApi
Version when this API was released
sinh(double) - Static method in class org.opensearch.common.util.OpenSearchSloppyMath
 
size() - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 
sortedDifference(Set<T>, Set<T>) - Static method in class org.opensearch.common.util.set.Sets
The relative complement, or difference, of the specified left and right set, returned as a sorted set.
start() - Method in class org.opensearch.common.lifecycle.AbstractLifecycleComponent
 
start() - Method in interface org.opensearch.common.lifecycle.LifecycleComponent
 
start() - Method in class org.opensearch.common.StopWatch
Start an unnamed task.
start(String) - Method in class org.opensearch.common.StopWatch
Start a named task.
started() - Method in class org.opensearch.common.lifecycle.Lifecycle
Returns true if the state is started.
STARTED - Enum constant in enum org.opensearch.common.lifecycle.Lifecycle.State
 
startUtcMillis() - Method in class org.opensearch.common.LocalTimeOffset.Transition
The time that this offset started in milliseconds since epoch.
state() - Method in class org.opensearch.common.lifecycle.Lifecycle
 
stop() - Method in class org.opensearch.common.lifecycle.AbstractLifecycleComponent
 
stop() - Method in interface org.opensearch.common.lifecycle.LifecycleComponent
 
stop() - Method in class org.opensearch.common.StopWatch
Stop the current task.
stopped() - Method in class org.opensearch.common.lifecycle.Lifecycle
Returns true if the state is stopped.
STOPPED - Enum constant in enum org.opensearch.common.lifecycle.Lifecycle.State
 
stoppedOrClosed() - Method in class org.opensearch.common.lifecycle.Lifecycle
 
StopWatch - Class in org.opensearch.common
Simple stop watch, allowing for timing of a number of tasks, exposing total running time and running time for each named task.
StopWatch() - Constructor for class org.opensearch.common.StopWatch
Construct a new stop watch.
StopWatch(String) - Constructor for class org.opensearch.common.StopWatch
Construct a new stop watch with the given id.
StopWatch.TaskInfo - Class in org.opensearch.common
Inner class to hold data about one task executed within the stop watch.
StopWatch.TimingHandle - Interface in org.opensearch.common
Stops the watch and auto calls close in try-with-resources usage
Streams - Class in org.opensearch.common.util.io
Simple utility methods for file and stream copying.
Streams() - Constructor for class org.opensearch.common.util.io.Streams
 
supply(long, long) - Method in interface org.opensearch.common.crypto.EncryptedHeaderContentSupplier
 
SuppressForbidden - Annotation Type in org.opensearch.common
Annotation to suppress forbidden-apis errors inside a whole class, a method, or a field.
SuppressLoggerChecks - Annotation Type in org.opensearch.common
Annotation to suppress logging usage checks errors inside a whole class or a method.

T

T1ha1 - Class in org.opensearch.common.hash
t1ha: Fast Positive Hash
taskInfo() - Method in class org.opensearch.common.StopWatch
Return an array of the data for tasks performed.
timeUnit() - Method in class org.opensearch.common.unit.TimeValue
 
TimeValue - Class in org.opensearch.common.unit
Time value unit of measurement
TimeValue(long) - Constructor for class org.opensearch.common.unit.TimeValue
 
TimeValue(long, TimeUnit) - Constructor for class org.opensearch.common.unit.TimeValue
 
timeValueDays(long) - Static method in class org.opensearch.common.unit.TimeValue
 
timeValueHours(long) - Static method in class org.opensearch.common.unit.TimeValue
 
timeValueMillis(long) - Static method in class org.opensearch.common.unit.TimeValue
 
timeValueMinutes(long) - Static method in class org.opensearch.common.unit.TimeValue
 
timeValueNanos(long) - Static method in class org.opensearch.common.unit.TimeValue
 
timeValueSeconds(long) - Static method in class org.opensearch.common.unit.TimeValue
 
timing(String) - Method in class org.opensearch.common.StopWatch
 
toAddrString(InetAddress) - Static method in class org.opensearch.common.network.InetAddresses
Returns the string representation of an InetAddress.
toBigIntegerExact(Number) - Static method in class org.opensearch.common.Numbers
Return the BigInteger that n stores, or throws an exception if the stored value cannot be converted to a BigInteger that stores the exact same value.
toByteExact(Number) - Static method in class org.opensearch.common.Numbers
Return the byte that n stores, or throws an exception if the stored value cannot be converted to a byte that stores the exact same value.
toCidrString(InetAddress, int) - Static method in class org.opensearch.common.network.InetAddresses
Given an address and prefix length, returns the string representation of the range in CIDR notation.
toHumanReadableString(int) - Method in class org.opensearch.common.unit.TimeValue
Returns a String representation of the current TimeValue.
toIntExact(Number) - Static method in class org.opensearch.common.Numbers
Return the int that n stores, or throws an exception if the stored value cannot be converted to an int that stores the exact same value.
toLong(String, boolean) - Static method in class org.opensearch.common.Numbers
Return the long that stringValue stores or throws an exception if the stored value cannot be converted to a long that stores the exact same value and coerce is false.
toLongExact(Number) - Static method in class org.opensearch.common.Numbers
Return the long that n stores, or throws an exception if the stored value cannot be converted to a long that stores the exact same value.
toShortExact(Number) - Static method in class org.opensearch.common.Numbers
Return the short that n stores, or throws an exception if the stored value cannot be converted to a short that stores the exact same value.
toString() - Method in class org.opensearch.common.collect.Tuple
Returns a string representation of a Tuple
toString() - Method in class org.opensearch.common.lifecycle.Lifecycle
 
toString() - Method in class org.opensearch.common.LocalTimeOffset
 
toString() - Method in class org.opensearch.common.StopWatch
Return an informative string describing all tasks performed For custom reporting, call getTaskInfo() and use the task info directly.
toString() - Method in class org.opensearch.common.transport.PortsRange
 
toString() - Method in class org.opensearch.common.unit.TimeValue
Returns a String representation of the current TimeValue.
toString() - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 
toString(long) - Method in class org.opensearch.common.LocalTimeOffset.Gap
 
toString(long) - Method in class org.opensearch.common.LocalTimeOffset.Overlap
 
toString(long) - Method in class org.opensearch.common.LocalTimeOffset
 
totalTime() - Method in class org.opensearch.common.StopWatch
Return the total time for all tasks.
toUnsignedBigInteger(long) - Static method in class org.opensearch.common.Numbers
Return a BigInteger equal to the unsigned value of the argument.
toUnsignedLong(String, boolean) - Static method in class org.opensearch.common.Numbers
Return the long that stringValue stores or throws an exception if the stored value cannot be converted to a long that stores the exact same value and coerce is false.
toUnsignedLongExact(Number) - Static method in class org.opensearch.common.Numbers
Return the unsigned long (as BigInteger) that n stores, or throws an exception if the stored value cannot be converted to an unsigned long that stores the exact same value.
toUriString(InetAddress) - Static method in class org.opensearch.common.network.InetAddresses
Returns the string representation of an InetAddress suitable for inclusion in a URI.
toUtf8Bytes(char[]) - Static method in class org.opensearch.common.CharArrays
Encodes the provided char[] to a UTF-8 byte[].
TriConsumer<S,T,U> - Interface in org.opensearch.common
Represents an operation that accepts three arguments and returns no result.
TriFunction<S,T,U,R> - Interface in org.opensearch.common
Represents a function that accepts three arguments and produces a result.
tryEnsureReasonableKeepAliveConfig(NetworkChannel) - Static method in class org.opensearch.common.util.net.NetUtils
If SO_KEEPALIVE is enabled (default), this method ensures sane default values for the extended socket options TCP_KEEPIDLE and TCP_KEEPINTERVAL.
tryIncRef() - Method in class org.opensearch.common.util.concurrent.AbstractRefCounted
 
tryIncRef() - Method in interface org.opensearch.common.util.concurrent.RefCounted
Tries to increment the refCount of this instance.
trySet(T) - Method in class org.opensearch.common.SetOnce
Sets the given object if none was set before.
tuple(V1, V2) - Static method in class org.opensearch.common.collect.Tuple
 
Tuple<V1,V2> - Class in org.opensearch.common.collect
Java 9 Tuple todo: deprecate and remove w/ min jdk upgrade to 11?
Tuple(V1, V2) - Constructor for class org.opensearch.common.collect.Tuple
 

U

union(Set<T>, Set<T>) - Static method in class org.opensearch.common.util.set.Sets
 
unsignedLongToDouble(long) - Static method in class org.opensearch.common.Numbers
Convert unsigned long to double value (see please Guava's com.google.common.primitives.UnsignedLong), this is faster then going through Numbers.toUnsignedBigInteger(long) conversion.
utcToLocalTime(long) - Method in class org.opensearch.common.LocalTimeOffset
Convert a time in utc into a the local time at this offset.
UTF_8 - Static variable in class org.opensearch.common.util.io.IOUtils
UTF-8 charset string.
utf8BytesToChars(byte[]) - Static method in class org.opensearch.common.CharArrays
Decodes the provided byte[] to a UTF-8 char[].
UUIDs - Class in org.opensearch.common
UUID utility class.
UUIDs() - Constructor for class org.opensearch.common.UUIDs
 

V

v() - Method in class org.opensearch.common.recycler.NoneRecycler.NV
 
v() - Method in interface org.opensearch.common.recycler.Recycler.V
Reference to the value.
v1() - Method in class org.opensearch.common.collect.Tuple
 
v2() - Method in class org.opensearch.common.collect.Tuple
 
validationErrors() - Method in exception org.opensearch.common.ValidationException
Returns the validation errors accumulated
ValidationException - Exception in org.opensearch.common
Encapsulates an accumulation of validation errors
ValidationException() - Constructor for exception org.opensearch.common.ValidationException
 
value() - Method in class org.opensearch.common.Explicit
 
valueOf(String) - Static method in enum org.opensearch.common.lease.Releasables
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.opensearch.common.lifecycle.Lifecycle.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.opensearch.common.recycler.Recyclers
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.opensearch.common.lease.Releasables
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.opensearch.common.lifecycle.Lifecycle.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.opensearch.common.recycler.Recyclers
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.opensearch.common.util.concurrent.ConcurrentHashMapLong
 

W

WINDOWS - Static variable in class org.opensearch.common.util.io.IOUtils
 
wrap(Iterable<Releasable>) - Static method in enum org.opensearch.common.lease.Releasables
Wrap several releasables into a single one.
wrap(Releasable...) - Static method in enum org.opensearch.common.lease.Releasables
 

Z

ZERO - Static variable in class org.opensearch.common.unit.TimeValue
 
A B C D E F G H I J K L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Serialized Form