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|Constant Field Values

A

AbstractRefCounted - Class in org.elasticsearch.core
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() - Constructor for class org.elasticsearch.core.AbstractRefCounted
 
accept(T) - Method in interface org.elasticsearch.core.CheckedConsumer
 
addListener(BiConsumer<T, ? super Exception>) - Method in class org.elasticsearch.core.CompletableContext
 
ALREADY_CLOSED_MESSAGE - Static variable in class org.elasticsearch.core.AbstractRefCounted
 
alreadyClosed() - Method in class org.elasticsearch.core.AbstractRefCounted
 
apply(T) - Method in interface org.elasticsearch.core.CheckedFunction
 
atan(double) - Static method in class org.elasticsearch.core.ESSloppyMath
 

B

Booleans - Class in org.elasticsearch.core
 

C

CharArrays - Class in org.elasticsearch.core
Helper class similar to Arrays to handle conversions for Char arrays
charsBeginsWith(String, char[]) - Static method in class org.elasticsearch.core.CharArrays
Tests if a char[] contains a sequence of characters that match the prefix.
CheckedConsumer<T,E extends Exception> - Interface in org.elasticsearch.core
A Consumer-like interface which allows throwing checked exceptions.
CheckedFunction<T,R,E extends Exception> - Interface in org.elasticsearch.core
A Function-like interface which allows throwing checked exceptions.
CheckedRunnable<E extends Exception> - Interface in org.elasticsearch.core
A Runnable-like interface which allows throwing checked exceptions.
checkJarHell(Consumer<String>) - Static method in class org.elasticsearch.jdk.JarHell
Checks the current classpath for duplicate classes
checkJarHell(Set<URL>, Consumer<String>) - Static method in class org.elasticsearch.jdk.JarHell
Checks the set of URLs for duplicate classes
checkJavaVersion(String, String) - Static method in class org.elasticsearch.jdk.JarHell
Checks that the java specification version targetVersion required by resource is compatible with the current installation.
close() - Method in interface org.elasticsearch.core.Releasable
 
close(boolean, Iterable<Releasable>) - Static method in enum class org.elasticsearch.core.Releasables
Release the provided Releasables, ignoring exceptions if success is false.
close(boolean, Releasable...) - Static method in enum class org.elasticsearch.core.Releasables
Release the provided Releasables, ignoring exceptions if success is false.
close(Closeable) - Static method in class org.elasticsearch.core.internal.io.IOUtils
 
close(Closeable...) - Static method in class org.elasticsearch.core.internal.io.IOUtils
Closes all given Closeables.
close(Exception, Closeable...) - Static method in class org.elasticsearch.core.internal.io.IOUtils
Closes all given Closeables.
close(Exception, Iterable<? extends Closeable>) - Static method in class org.elasticsearch.core.internal.io.IOUtils
Closes all given Closeables.
close(Iterable<? extends Closeable>) - Static method in class org.elasticsearch.core.internal.io.IOUtils
Closes all given Closeables.
close(Iterable<? extends Releasable>) - Static method in enum class org.elasticsearch.core.Releasables
Release the provided Releasables.
close(Releasable) - Static method in enum class org.elasticsearch.core.Releasables
Release the provided Releasable.
close(Releasable...) - Static method in enum class org.elasticsearch.core.Releasables
Release the provided Releasables.
closeExpectNoException(Releasable) - Static method in enum class org.elasticsearch.core.Releasables
Release the provided Releasable expecting no exception to by thrown.
closeExpectNoException(Releasable...) - Static method in enum class org.elasticsearch.core.Releasables
Release the provided Releasables expecting no exception to by thrown by any of them.
closeInternal() - Method in class org.elasticsearch.core.AbstractRefCounted
Method that is invoked once the reference count reaches zero.
closeWhileHandlingException(Closeable) - Static method in class org.elasticsearch.core.internal.io.IOUtils
 
closeWhileHandlingException(Closeable...) - Static method in class org.elasticsearch.core.internal.io.IOUtils
Closes all given Closeables, suppressing all thrown exceptions.
closeWhileHandlingException(Iterable<? extends Closeable>) - Static method in class org.elasticsearch.core.internal.io.IOUtils
Closes all given Closeables, suppressing all thrown exceptions.
closeWhileHandlingException(Releasable...) - Static method in enum class org.elasticsearch.core.Releasables
Release the provided Releasables, ignoring exceptions.
compareTo(TimeValue) - Method in class org.elasticsearch.core.TimeValue
 
CompletableContext<T> - Class in org.elasticsearch.core
A thread-safe completable context that allows listeners to be attached.
CompletableContext() - Constructor for class org.elasticsearch.core.CompletableContext
 
complete(T) - Method in class org.elasticsearch.core.CompletableContext
 
completeExceptionally(Exception) - Method in class org.elasticsearch.core.CompletableContext
 
constantTimeEquals(char[], char[]) - Static method in class org.elasticsearch.core.CharArrays
Constant time equality check of char arrays to avoid potential timing attacks.
constantTimeEquals(String, String) - Static method in class org.elasticsearch.core.CharArrays
Constant time equality check of strings to avoid potential timing attacks.
copy(InputStream, OutputStream) - Static method in class org.elasticsearch.core.internal.io.Streams
 
copy(InputStream, OutputStream, boolean) - Static method in class org.elasticsearch.core.internal.io.Streams
 
copy(InputStream, OutputStream, byte[]) - Static method in class org.elasticsearch.core.internal.io.Streams
 
copy(InputStream, OutputStream, byte[], boolean) - Static method in class org.elasticsearch.core.internal.io.Streams
Copy the contents of the given InputStream to the given OutputStream.
current() - Static method in enum class org.elasticsearch.core.RestApiVersion
 

D

days() - Method in class org.elasticsearch.core.TimeValue
 
daysFrac() - Method in class org.elasticsearch.core.TimeValue
 
decRef() - Method in class org.elasticsearch.core.AbstractRefCounted
 
decRef() - Method in interface org.elasticsearch.core.RefCounted
Decreases the refCount of this instance.
deleteFilesIgnoringExceptions(Path...) - Static method in class org.elasticsearch.core.internal.io.IOUtils
Deletes all given files, suppressing all thrown IOExceptions.
deleteFilesIgnoringExceptions(Collection<? extends Path>) - Static method in class org.elasticsearch.core.internal.io.IOUtils
Deletes all given files, suppressing all thrown IOExceptions.
duration() - Method in class org.elasticsearch.core.TimeValue
 

E

equals(Object) - Method in class org.elasticsearch.core.TimeValue
 
equals(Object) - Method in class org.elasticsearch.core.Tuple
 
equalTo(RestApiVersion) - Static method in enum class org.elasticsearch.core.RestApiVersion
 
ESSloppyMath - Class in org.elasticsearch.core
Similar to Lucene's SloppyMath, but for additional math functions.

F

forciblyCast(Object) - Static method in class org.elasticsearch.core.Types
There are some situations where we cannot appease javac's type checking, and we need to forcibly cast an object's type.
fsync(Path, boolean) - Static method in class org.elasticsearch.core.internal.io.IOUtils
Ensure that any writes to the given file is written to the storage device that contains it.
fsync(Path, boolean, boolean) - Static method in class org.elasticsearch.core.internal.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.elasticsearch.core.MemoizedSupplier
 
get(String, String...) - Static method in class org.elasticsearch.core.PathUtils
Returns a Path from name components.
get(URI) - Static method in class org.elasticsearch.core.PathUtils
Returns a Path from a URI
get(Path[], String) - Static method in class org.elasticsearch.core.PathUtils
Tries to resolve the given path against the list of available roots.
get(Path[], URI) - Static method in class org.elasticsearch.core.PathUtils
Tries to resolve the given file uri against the list of available roots.
getDays() - Method in class org.elasticsearch.core.TimeValue
 
getDaysFrac() - Method in class org.elasticsearch.core.TimeValue
 
getDefaultFileSystem() - Static method in class org.elasticsearch.core.PathUtils
Returns the default FileSystem.
getDetected() - Method in class org.elasticsearch.jdk.JdkJarHellCheck
 
getHours() - Method in class org.elasticsearch.core.TimeValue
 
getHoursFrac() - Method in class org.elasticsearch.core.TimeValue
 
getMicros() - Method in class org.elasticsearch.core.TimeValue
 
getMicrosFrac() - Method in class org.elasticsearch.core.TimeValue
 
getMillis() - Method in class org.elasticsearch.core.TimeValue
 
getMillisFrac() - Method in class org.elasticsearch.core.TimeValue
 
getMinutes() - Method in class org.elasticsearch.core.TimeValue
 
getMinutesFrac() - Method in class org.elasticsearch.core.TimeValue
 
getNanos() - Method in class org.elasticsearch.core.TimeValue
 
getSeconds() - Method in class org.elasticsearch.core.TimeValue
 
getSecondsFrac() - Method in class org.elasticsearch.core.TimeValue
 
getStringRep() - Method in class org.elasticsearch.core.TimeValue
 
getTcpKeepCountSocketOptionOrNull() - Static method in class org.elasticsearch.core.internal.net.NetUtils
Returns the extended TCP_KEEPCOUNT socket option, if available on this JDK
getTcpKeepIdleSocketOptionOrNull() - Static method in class org.elasticsearch.core.internal.net.NetUtils
Returns the extended TCP_KEEPIDLE socket option, if available on this JDK
getTcpKeepIntervalSocketOptionOrNull() - Static method in class org.elasticsearch.core.internal.net.NetUtils
Returns the extended TCP_KEEPINTERVAL socket option, if available on this JDK
Glob - Class in org.elasticsearch.core
Utility class for glob-like matching
globMatch(String, String) - Static method in class org.elasticsearch.core.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.elasticsearch.core.TimeValue
 
hashCode() - Method in class org.elasticsearch.core.Tuple
 
hasReferences() - Method in class org.elasticsearch.core.AbstractRefCounted
 
hasReferences() - Method in interface org.elasticsearch.core.RefCounted
Returns true only if there was at least one active reference when the method was called; if it returns false then the object is closed; future attempts to acquire references will fail.
hours() - Method in class org.elasticsearch.core.TimeValue
 
hoursFrac() - Method in class org.elasticsearch.core.TimeValue
 

I

incRef() - Method in class org.elasticsearch.core.AbstractRefCounted
 
incRef() - Method in interface org.elasticsearch.core.RefCounted
Increments the refCount of this instance.
IOUtils - Class in org.elasticsearch.core.internal.io
Utilities for common I/O methods.
isBoolean(char[], int, int) - Static method in class org.elasticsearch.core.Booleans
returns true iff the sequence of chars is one of "true","false".
isBoolean(String) - Static method in class org.elasticsearch.core.Booleans
 
isBooleanLenient(char[], int, int) - Static method in class org.elasticsearch.core.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.elasticsearch.core.CompletableContext
 
isDone() - Method in class org.elasticsearch.core.CompletableContext
 
isFalse(String) - Static method in class org.elasticsearch.core.Booleans
 
isTrue(String) - Static method in class org.elasticsearch.core.Booleans
 

J

JarHell - Class in org.elasticsearch.jdk
Simple check for duplicate class files across the classpath.
JdkJarHellCheck - Class in org.elasticsearch.jdk
 

L

LINUX - Static variable in class org.elasticsearch.core.internal.io.IOUtils
 

M

MAC_OS_X - Static variable in class org.elasticsearch.core.internal.io.IOUtils
 
main(String[]) - Static method in class org.elasticsearch.jdk.JarHell
Simple driver class, can be used eg.
main(String[]) - Static method in class org.elasticsearch.jdk.JdkJarHellCheck
 
major - Variable in enum class org.elasticsearch.core.RestApiVersion
 
matches(Function<RestApiVersion, Boolean>) - Method in enum class org.elasticsearch.core.RestApiVersion
 
MAX_VALUE - Static variable in class org.elasticsearch.core.TimeValue
 
MemoizedSupplier<T> - Class in org.elasticsearch.core
 
MemoizedSupplier(Supplier<T>) - Constructor for class org.elasticsearch.core.MemoizedSupplier
 
micros() - Method in class org.elasticsearch.core.TimeValue
 
microsFrac() - Method in class org.elasticsearch.core.TimeValue
 
millis() - Method in class org.elasticsearch.core.TimeValue
 
millisFrac() - Method in class org.elasticsearch.core.TimeValue
 
minimumSupported() - Static method in enum class org.elasticsearch.core.RestApiVersion
 
MINUS_ONE - Static variable in class org.elasticsearch.core.TimeValue
 
minutes() - Method in class org.elasticsearch.core.TimeValue
 
minutesFrac() - Method in class org.elasticsearch.core.TimeValue
 

N

nanos() - Method in class org.elasticsearch.core.TimeValue
 
NetUtils - Class in org.elasticsearch.core.internal.net
Utilities for network-related methods.
NSEC_PER_MSEC - Static variable in class org.elasticsearch.core.TimeValue
How many nano-seconds in one milli-second
nsecToMSec(long) - Static method in class org.elasticsearch.core.TimeValue
 
Nullable - Annotation Interface in org.elasticsearch.core
The presence of this annotation on a method parameter indicates that null is an acceptable value for that parameter.

O

of(Runnable) - Static method in class org.elasticsearch.core.AbstractRefCounted
Construct an AbstractRefCounted which runs the given Runnable when all references are released.
onOrAfter(RestApiVersion) - Static method in enum class org.elasticsearch.core.RestApiVersion
 
org.elasticsearch.core - package org.elasticsearch.core
 
org.elasticsearch.core.internal.io - package org.elasticsearch.core.internal.io
 
org.elasticsearch.core.internal.net - package org.elasticsearch.core.internal.net
 
org.elasticsearch.jdk - package org.elasticsearch.jdk
 

P

parseBoolean(char[], int, int, boolean) - Static method in class org.elasticsearch.core.Booleans
Parses a char[] representation of a boolean value to boolean.
parseBoolean(String) - Static method in class org.elasticsearch.core.Booleans
Parses a string representation of a boolean value to boolean.
parseBoolean(String, boolean) - Static method in class org.elasticsearch.core.Booleans
 
parseBoolean(String, Boolean) - Static method in class org.elasticsearch.core.Booleans
 
parseBooleanLenient(char[], int, int, boolean) - Static method in class org.elasticsearch.core.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.elasticsearch.core.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.elasticsearch.core.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.elasticsearch.jdk.JarHell
Parses the classpath into an array of URLs
parseTimeValue(String, String) - Static method in class org.elasticsearch.core.TimeValue
 
parseTimeValue(String, TimeValue, String) - Static method in class org.elasticsearch.core.TimeValue
 
PathUtils - Class in org.elasticsearch.core
Utilities for creating a Path from names, or accessing the default FileSystem.
previous() - Method in enum class org.elasticsearch.core.RestApiVersion
 

R

reason() - Element in annotation interface org.elasticsearch.core.SuppressForbidden
 
refCount() - Method in class org.elasticsearch.core.AbstractRefCounted
Returns the current reference count.
RefCounted - Interface in org.elasticsearch.core
An interface for objects that need to be notified when all reference to itself are not in user anymore.
Releasable - Interface in org.elasticsearch.core
Specialization of Closeable that may only throw a RuntimeException.
Releasables - Enum Class in org.elasticsearch.core
Utility methods to work with Releasables.
releaseOnce(Releasable) - Static method in enum class org.elasticsearch.core.Releasables
Wraps a Releasable such that its Releasable.close() method can be called multiple times without double releasing.
RestApiVersion - Enum Class in org.elasticsearch.core
A enum representing versions of the REST API (particularly with regard to backwards compatibility).
rm(Path...) - Static method in class org.elasticsearch.core.internal.io.IOUtils
Deletes one or more files or directories (and everything underneath it).
run() - Method in interface org.elasticsearch.core.CheckedRunnable
 

S

seconds() - Method in class org.elasticsearch.core.TimeValue
 
secondsFrac() - Method in class org.elasticsearch.core.TimeValue
 
sinh(double) - Static method in class org.elasticsearch.core.ESSloppyMath
 
Streams - Class in org.elasticsearch.core.internal.io
Simple utility methods for file and stream copying.
SuppressForbidden - Annotation Interface in org.elasticsearch.core
Annotation to suppress forbidden-apis errors inside a whole class, a method, or a field.

T

timeUnit() - Method in class org.elasticsearch.core.TimeValue
 
TimeValue - Class in org.elasticsearch.core
 
TimeValue(long) - Constructor for class org.elasticsearch.core.TimeValue
 
TimeValue(long, TimeUnit) - Constructor for class org.elasticsearch.core.TimeValue
 
timeValueDays(long) - Static method in class org.elasticsearch.core.TimeValue
 
timeValueHours(long) - Static method in class org.elasticsearch.core.TimeValue
 
timeValueMillis(long) - Static method in class org.elasticsearch.core.TimeValue
 
timeValueMinutes(long) - Static method in class org.elasticsearch.core.TimeValue
 
timeValueNanos(long) - Static method in class org.elasticsearch.core.TimeValue
 
timeValueSeconds(long) - Static method in class org.elasticsearch.core.TimeValue
 
toHumanReadableString(int) - Method in class org.elasticsearch.core.TimeValue
Returns a String representation of the current TimeValue.
toString() - Method in class org.elasticsearch.core.TimeValue
Returns a String representation of the current TimeValue.
toString() - Method in class org.elasticsearch.core.Tuple
 
touch() - Method in class org.elasticsearch.core.AbstractRefCounted
Called whenever the ref count is incremented or decremented.
toUtf8Bytes(char[]) - Static method in class org.elasticsearch.core.CharArrays
Encodes the provided char[] to a UTF-8 byte[].
tryEnsureReasonableKeepAliveConfig(NetworkChannel) - Static method in class org.elasticsearch.core.internal.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.elasticsearch.core.AbstractRefCounted
 
tryIncRef() - Method in interface org.elasticsearch.core.RefCounted
Tries to increment the refCount of this instance.
tuple(V1, V2) - Static method in class org.elasticsearch.core.Tuple
 
Tuple<V1,V2> - Class in org.elasticsearch.core
 
Tuple(V1, V2) - Constructor for class org.elasticsearch.core.Tuple
 
Types - Class in org.elasticsearch.core
Contains utilities for working with Java types.

U

UTF_8 - Static variable in class org.elasticsearch.core.internal.io.IOUtils
UTF-8 charset string.
utf8BytesToChars(byte[]) - Static method in class org.elasticsearch.core.CharArrays
Decodes the provided byte[] to a UTF-8 char[].

V

V_7 - Enum constant in enum class org.elasticsearch.core.RestApiVersion
 
V_8 - Enum constant in enum class org.elasticsearch.core.RestApiVersion
 
v1() - Method in class org.elasticsearch.core.Tuple
 
v2() - Method in class org.elasticsearch.core.Tuple
 
valueOf(String) - Static method in enum class org.elasticsearch.core.Releasables
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.elasticsearch.core.RestApiVersion
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.elasticsearch.core.Releasables
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.elasticsearch.core.RestApiVersion
Returns an array containing the constants of this enum class, in the order they are declared.

W

WINDOWS - Static variable in class org.elasticsearch.core.internal.io.IOUtils
 
wrap(Iterable<Releasable>) - Static method in enum class org.elasticsearch.core.Releasables
Wrap several releasables into a single one.
wrap(Releasable...) - Static method in enum class org.elasticsearch.core.Releasables
 

Z

ZERO - Static variable in class org.elasticsearch.core.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|Constant Field Values