Index

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

A

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
 
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
 
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.
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.
Booleans - Class in org.opensearch.common
Extended Boolean functionality

C

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
 
Classes - Class in org.opensearch.common
Base class utilities
clear() - Method in class org.opensearch.common.collect.MapBuilder
 
close() - Method in interface org.opensearch.common.lease.Releasable
 
close() - Method in interface org.opensearch.common.StopWatch.TimingHandle
 
close(boolean, Iterable<Releasable>) - Static method in enum class org.opensearch.common.lease.Releasables
Release the provided Releasables, ignoring exceptions if success is false.
close(boolean, Releasable...) - Static method in enum class 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 class org.opensearch.common.lease.Releasables
Release the provided Releasables.
close(Releasable) - Static method in enum class org.opensearch.common.lease.Releasables
Release the provided Releasable.
close(Releasable...) - Static method in enum class org.opensearch.common.lease.Releasables
Release the provided Releasables.
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 class org.opensearch.common.lease.Releasables
Release the provided Releasables, ignoring exceptions.
closeWhileHandlingException(Releasable...) - Static method in enum class 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
 
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(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
 
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.

D

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.
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.
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.
duration() - Method in class org.opensearch.common.unit.TimeValue
 

E

entry(K, V) - Static method in class org.opensearch.common.collect.Map
Deprecated.
Delegates to the Java9 Map.entry() method.
equals(Object) - Method in class org.opensearch.common.collect.Tuple
 
equals(Object) - Method in class org.opensearch.common.Explicit
 
equals(Object) - Method in class org.opensearch.common.unit.TimeValue
 
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.
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

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(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
 
getAverage() - Method in class org.opensearch.common.ExponentiallyWeightedMovingAverage
 
getDays() - Method in class org.opensearch.common.unit.TimeValue
 
getDaysFrac() - Method in class org.opensearch.common.unit.TimeValue
 
getDefaultFileSystem() - Static method in class org.opensearch.common.io.PathUtils
Returns the default FileSystem.
getDetected() - Method in class org.opensearch.bootstrap.JdkJarHellCheck
 
getHours() - Method in class org.opensearch.common.unit.TimeValue
 
getHoursFrac() - Method in class org.opensearch.common.unit.TimeValue
 
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
 
getPackageName(Class<?>) - Static method in class org.opensearch.common.Classes
Determine the name of the package of the given class: e.g.
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

hashCode() - Method in class org.opensearch.common.collect.Tuple
 
hashCode() - Method in class org.opensearch.common.Explicit
 
hashCode() - Method in class org.opensearch.common.unit.TimeValue
 
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.
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.
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.
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.
isCompletedExceptionally() - Method in class org.opensearch.common.concurrent.CompletableContext
 
isConcrete(Class<?>) - Static method in class org.opensearch.common.Classes
 
isDone() - Method in class org.opensearch.common.concurrent.CompletableContext
 
isEmpty() - Method in class org.opensearch.common.collect.MapBuilder
 
isFalse(String) - Static method in class org.opensearch.common.Booleans
 
isInnerClass(Class<?>) - Static method in class org.opensearch.common.Classes
 
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.

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
 

L

lastTaskTime() - Method in class org.opensearch.common.StopWatch
Return the time taken by the last task.
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.
 
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.
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
 
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
 

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
 
newConcurrentHashSet() - Static method in class org.opensearch.common.util.set.Sets
 
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
 
newMapBuilder() - Static method in class org.opensearch.common.collect.MapBuilder
 
newMapBuilder(Map<K, V>) - Static method in class org.opensearch.common.collect.MapBuilder
 
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 Interface 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

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
 
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.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.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.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.
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.
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.
put(K, V) - Method in class org.opensearch.common.collect.MapBuilder
 
putAll(Map<K, V>) - Method in class org.opensearch.common.collect.MapBuilder
 

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 interface org.opensearch.common.SuppressForbidden
 
reason() - Element in annotation interface org.opensearch.common.SuppressLoggerChecks
 
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 Class in org.opensearch.common.lease
Utility methods to work with Releasables.
releaseOnce(Releasable) - Static method in enum class org.opensearch.common.lease.Releasables
Wraps a Releasable such that its Releasable.close() method can be called multiple times without double releasing.
remove(K) - Method in class org.opensearch.common.collect.MapBuilder
 
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.
sinh(double) - Static method in class org.opensearch.common.util.OpenSearchSloppyMath
 
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.StopWatch
Start an unnamed task.
start(String) - Method in class org.opensearch.common.StopWatch
Start a named task.
startUtcMillis() - Method in class org.opensearch.common.LocalTimeOffset.Transition
The time that this offset started in milliseconds since epoch.
stop() - Method in class org.opensearch.common.StopWatch
Stop the current task.
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
 
SuppressForbidden - Annotation Interface in org.opensearch.common
Annotation to suppress forbidden-apis errors inside a whole class, a method, or a field.
SuppressLoggerChecks - Annotation Interface in org.opensearch.common
Annotation to suppress logging usage checks errors inside a whole class or a method.

T

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
 
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.
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
 
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.unit.TimeValue
Returns a String representation of the current TimeValue.
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.
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

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 class org.opensearch.common.lease.Releasables
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.opensearch.common.lease.Releasables
Returns an array containing the constants of this enum class, in the order they are declared.

W

WINDOWS - Static variable in class org.opensearch.common.util.io.IOUtils
 
wrap(Iterable<Releasable>) - Static method in enum class org.opensearch.common.lease.Releasables
Wrap several releasables into a single one.
wrap(Releasable...) - Static method in enum class 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 L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Serialized Form