Package org.opensearch.common
package org.opensearch.common
Common Library of Utilties and Data Structures used across OpenSearch.
-
ClassDescriptionExtended Boolean functionalityHelper class similar to Arrays to handle conversions for Char arraysCheckedBiConsumer<T,
U, E extends Exception> ABiConsumer-like interface which allows throwing checked exceptions.CheckedBiFunction<T,U, R, E extends Exception> ABiFunction-like interface which allows throwing checked exceptions.CheckedConsumer<T,E extends Exception> AConsumer-like interface which allows throwing checked exceptions.CheckedFunction<T,R, E extends Exception> AFunction-like interface which allows throwing checked exceptions.CheckedRunnable<E extends Exception>ARunnable-like interface which allows throwing checked exceptions.CheckedSupplier<R,E extends Exception> ASupplier-like interface which allows throwing checked exceptions.CheckedTriFunction<S,T, U, R, E extends Exception> ATriFunction-like interface which allows throwing checked exceptions.Base class utilitiesExplicit<T>Holds a value that is either: a) set implicitly e.g.Implements exponentially weighted moving averages (commonly abbreviated EWMA) for a single value.Utility class for glob-like matchingConverts utc into local time and back again.Gap for a local time offsetHow to get instances ofLocalTimeOffset.Overlap for a local time offsetStrategy for a local timeTransition for a local time offsetProvider of MAC addressingA base supplier using memoization optimization techniqueA registry from String to some class implementation.The presence of this annotation on a method parameter indicates thatnullis an acceptable value for that parameter.A set of utilities for numbers.SetOnce<T>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.Thrown whenSetOnce.set(Object)is called more than once.Simple stop watch, allowing for timing of a number of tasks, exposing total running time and running time for each named task.Inner class to hold data about one task executed within the stop watch.Stops the watch and auto calls close in try-with-resources usageAnnotation to suppress forbidden-apis errors inside a whole class, a method, or a field.Annotation to suppress logging usage checks errors inside a whole class or a method.TriConsumer<S,T, U> Represents an operation that accepts three arguments and returns no result.TriFunction<S,T, U, R> Represents a function that accepts three arguments and produces a result.UUID utility class.Encapsulates an accumulation of validation errors