Index
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
- addListener(BiConsumer<T, ? super Exception>) - Method in class org.opensearch.common.concurrent.CompletableContext
- alreadyClosed() - Method in class org.opensearch.common.util.concurrent.AbstractRefCounted
- AlreadySetException() - Constructor for exception org.opensearch.common.SetOnce.AlreadySetException
- apply(T) - Method in interface org.opensearch.common.CheckedFunction
- atan(double) - Static method in class org.opensearch.common.util.OpenSearchSloppyMath
B
- 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.
- 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. - 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
targetVersionrequired byresourceis compatible with the current installation. - checkVersionFormat(String) - Static method in class org.opensearch.bootstrap.JarHell
- clear() - Method in class org.opensearch.common.collect.MapBuilder
- 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. - 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. - 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
- 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.copyOfmethod. - 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. - doubleToBytes(double) - Static method in class org.opensearch.common.Numbers
-
Converts a double to a byte array.
- 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.unit.TimeValue
F
- 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 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
Pathfrom name components. - get(URI) - Static method in class org.opensearch.common.io.PathUtils
-
Returns a
Pathfrom 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
- 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
- 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
- getSeconds() - Method in class org.opensearch.common.unit.TimeValue
- getSecondsFrac() - Method in class org.opensearch.common.unit.TimeValue
- getStringRep() - Method in class org.opensearch.common.unit.TimeValue
- 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
- 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.unit.TimeValue
- 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.
- intToBytes(int) - Static method in class org.opensearch.common.Numbers
- 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.
- isCompletedExceptionally() - Method in class org.opensearch.common.concurrent.CompletableContext
- 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
- 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
- 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.
- longToBytes(long) - Static method in class org.opensearch.common.Numbers
-
Converts a long to a byte array.
M
- MAC_OS_X - Static variable in class org.opensearch.common.util.io.IOUtils
- 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
- 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
- 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
nullis 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. - 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.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
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.
- put(K, V) - Method in class org.opensearch.common.collect.MapBuilder
- putAll(Map<K, V>) - Method in class org.opensearch.common.collect.MapBuilder
R
- reason() - Element in annotation interface org.opensearch.common.SuppressForbidden
- 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.
- 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. - shortToBytes(int) - Static method in class org.opensearch.common.Numbers
-
Converts an int to a byte array.
- sinh(double) - Static method in class org.opensearch.common.util.OpenSearchSloppyMath
- 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.
T
- 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
- toBigIntegerExact(Number) - Static method in class org.opensearch.common.Numbers
-
Return the
BigIntegerthatnstores, or throws an exception if the stored value cannot be converted to aBigIntegerthat stores the exact same value. - toByteExact(Number) - Static method in class org.opensearch.common.Numbers
-
Return the byte that
nstores, 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
- toIntExact(Number) - Static method in class org.opensearch.common.Numbers
-
Return the int that
nstores, 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
stringValuestores or throws an exception if the stored value cannot be converted to a long that stores the exact same value andcoerceis false. - toLongExact(Number) - Static method in class org.opensearch.common.Numbers
-
Return the long that
nstores, 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
nstores, 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.unit.TimeValue
- 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
stringValuestores or throws an exception if the stored value cannot be converted to a long that stores the exact same value andcoerceis false. - toUnsignedLongExact(Number) - Static method in class org.opensearch.common.Numbers
-
Return the unsigned long (as
BigInteger) thatnstores, 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[].
- 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
- 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. - 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[].
V
- v1() - Method in class org.opensearch.common.collect.Tuple
- v2() - Method in class org.opensearch.common.collect.Tuple
W
Z
A B C D E F G H I J L M N O P R S T U V W ZAll Classes and Interfaces|All Packages|Serialized Form
Booleans.isBoolean(char[], int, int)instead.