A B C D E F G H I J M N O P R S T U V Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractRefCounted - Class in org.elasticsearch.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.elasticsearch.common.util.concurrent.AbstractRefCounted
- addListener(BiConsumer<T, ? super Exception>) - Method in class org.elasticsearch.common.concurrent.CompletableContext
- alreadyClosed() - Method in class org.elasticsearch.common.util.concurrent.AbstractRefCounted
- apply(T) - Method in interface org.elasticsearch.common.CheckedFunction
B
- Booleans - Class in org.elasticsearch.common
C
- CharArrays - Class in org.elasticsearch.common
-
Helper class similar to Arrays to handle conversions for Char arrays
- charsBeginsWith(String, char[]) - Static method in class org.elasticsearch.common.CharArrays
-
Tests if a char[] contains a sequence of characters that match the prefix.
- CheckedFunction<T,R,E extends java.lang.Exception> - Interface in org.elasticsearch.common
-
A
Function
-like interface which allows throwing checked exceptions. - checkJarHell(Consumer<String>) - Static method in class org.elasticsearch.bootstrap.JarHell
-
Checks the current classpath for duplicate classes
- checkJarHell(Set<URL>, Consumer<String>) - Static method in class org.elasticsearch.bootstrap.JarHell
-
Checks the set of URLs for duplicate classes
- checkJavaVersion(String, String) - Static method in class org.elasticsearch.bootstrap.JarHell
-
Checks that the java specification version
targetVersion
required byresource
is compatible with the current installation. - checkVersionFormat(String) - Static method in class org.elasticsearch.bootstrap.JarHell
- close(Closeable...) - Static method in class org.elasticsearch.core.internal.io.IOUtils
-
Closes all given
Closeable
s. - close(Exception, Closeable...) - Static method in class org.elasticsearch.core.internal.io.IOUtils
-
Closes all given
Closeable
s. - close(Exception, Iterable<? extends Closeable>) - Static method in class org.elasticsearch.core.internal.io.IOUtils
-
Closes all given
Closeable
s. - close(Iterable<? extends Closeable>) - Static method in class org.elasticsearch.core.internal.io.IOUtils
-
Closes all given
Closeable
s. - closeInternal() - Method in class org.elasticsearch.common.util.concurrent.AbstractRefCounted
- closeWhileHandlingException(Closeable...) - Static method in class org.elasticsearch.core.internal.io.IOUtils
-
Closes all given
Closeable
s, suppressing all thrown exceptions. - closeWhileHandlingException(Iterable<? extends Closeable>) - Static method in class org.elasticsearch.core.internal.io.IOUtils
-
Closes all given
Closeable
s, suppressing all thrown exceptions. - compareTo(JavaVersion) - Method in class org.elasticsearch.bootstrap.JavaVersion
- compareTo(TimeValue) - Method in class org.elasticsearch.common.unit.TimeValue
- CompletableContext<T> - Class in org.elasticsearch.common.concurrent
-
A thread-safe completable context that allows listeners to be attached.
- CompletableContext() - Constructor for class org.elasticsearch.common.concurrent.CompletableContext
- complete(T) - Method in class org.elasticsearch.common.concurrent.CompletableContext
- completeExceptionally(Exception) - Method in class org.elasticsearch.common.concurrent.CompletableContext
- constantTimeEquals(char[], char[]) - Static method in class org.elasticsearch.common.CharArrays
-
Constant time equality check of char arrays to avoid potential timing attacks.
- constantTimeEquals(String, String) - Static method in class org.elasticsearch.common.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 the contents of the given InputStream to the given OutputStream.
- current() - Static method in class org.elasticsearch.bootstrap.JavaVersion
D
- days() - Method in class org.elasticsearch.common.unit.TimeValue
- daysFrac() - Method in class org.elasticsearch.common.unit.TimeValue
- decRef() - Method in class org.elasticsearch.common.util.concurrent.AbstractRefCounted
- decRef() - Method in interface org.elasticsearch.common.util.concurrent.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
IOException
s. - deleteFilesIgnoringExceptions(Collection<? extends Path>) - Static method in class org.elasticsearch.core.internal.io.IOUtils
-
Deletes all given files, suppressing all thrown
IOException
s. - duration() - Method in class org.elasticsearch.common.unit.TimeValue
E
- equals(Object) - Method in class org.elasticsearch.bootstrap.JavaVersion
- equals(Object) - Method in class org.elasticsearch.common.collect.Tuple
- equals(Object) - Method in class org.elasticsearch.common.unit.TimeValue
F
- 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.
G
- get(String, String...) - Static method in class org.elasticsearch.common.io.PathUtils
-
Returns a
Path
from name components. - get(URI) - Static method in class org.elasticsearch.common.io.PathUtils
-
Returns a
Path
from a URI - get(Path[], String) - Static method in class org.elasticsearch.common.io.PathUtils
-
Tries to resolve the given path against the list of available roots.
- get(Path[], URI) - Static method in class org.elasticsearch.common.io.PathUtils
-
Tries to resolve the given file uri against the list of available roots.
- getDays() - Method in class org.elasticsearch.common.unit.TimeValue
- getDaysFrac() - Method in class org.elasticsearch.common.unit.TimeValue
- getDefaultFileSystem() - Static method in class org.elasticsearch.common.io.PathUtils
-
Returns the default FileSystem.
- getHours() - Method in class org.elasticsearch.common.unit.TimeValue
- getHoursFrac() - Method in class org.elasticsearch.common.unit.TimeValue
- getMicros() - Method in class org.elasticsearch.common.unit.TimeValue
- getMicrosFrac() - Method in class org.elasticsearch.common.unit.TimeValue
- getMillis() - Method in class org.elasticsearch.common.unit.TimeValue
- getMillisFrac() - Method in class org.elasticsearch.common.unit.TimeValue
- getMinutes() - Method in class org.elasticsearch.common.unit.TimeValue
- getMinutesFrac() - Method in class org.elasticsearch.common.unit.TimeValue
- getName() - Method in class org.elasticsearch.common.util.concurrent.AbstractRefCounted
-
gets the name of this instance
- getNanos() - Method in class org.elasticsearch.common.unit.TimeValue
- getSeconds() - Method in class org.elasticsearch.common.unit.TimeValue
- getSecondsFrac() - Method in class org.elasticsearch.common.unit.TimeValue
- getStringRep() - Method in class org.elasticsearch.common.unit.TimeValue
- getVersion() - Method in class org.elasticsearch.bootstrap.JavaVersion
- Glob - Class in org.elasticsearch.common
-
Utility class for glob-like matching
- Glob() - Constructor for class org.elasticsearch.common.Glob
- globMatch(String, String) - Static method in class org.elasticsearch.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.elasticsearch.bootstrap.JavaVersion
- hashCode() - Method in class org.elasticsearch.common.collect.Tuple
- hashCode() - Method in class org.elasticsearch.common.unit.TimeValue
- hours() - Method in class org.elasticsearch.common.unit.TimeValue
- hoursFrac() - Method in class org.elasticsearch.common.unit.TimeValue
I
- incRef() - Method in class org.elasticsearch.common.util.concurrent.AbstractRefCounted
- incRef() - Method in interface org.elasticsearch.common.util.concurrent.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.common.Booleans
-
returns true iff the sequence of chars is one of "true","false".
- isBoolean(String) - Static method in class org.elasticsearch.common.Booleans
- isBooleanLenient(char[], int, int) - Static method in class org.elasticsearch.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.elasticsearch.common.concurrent.CompletableContext
- isDone() - Method in class org.elasticsearch.common.concurrent.CompletableContext
- isFalse(String) - Static method in class org.elasticsearch.common.Booleans
- isTrue(String) - Static method in class org.elasticsearch.common.Booleans
- isValid(String) - Static method in class org.elasticsearch.bootstrap.JavaVersion
J
- JarHell - Class in org.elasticsearch.bootstrap
-
Simple check for duplicate class files across the classpath.
- JavaVersion - Class in org.elasticsearch.bootstrap
M
- main(String[]) - Static method in class org.elasticsearch.bootstrap.JarHell
-
Simple driver class, can be used eg.
- micros() - Method in class org.elasticsearch.common.unit.TimeValue
- microsFrac() - Method in class org.elasticsearch.common.unit.TimeValue
- millis() - Method in class org.elasticsearch.common.unit.TimeValue
- millisFrac() - Method in class org.elasticsearch.common.unit.TimeValue
- MINUS_ONE - Static variable in class org.elasticsearch.common.unit.TimeValue
- minutes() - Method in class org.elasticsearch.common.unit.TimeValue
- minutesFrac() - Method in class org.elasticsearch.common.unit.TimeValue
N
- nanos() - Method in class org.elasticsearch.common.unit.TimeValue
- NSEC_PER_MSEC - Static variable in class org.elasticsearch.common.unit.TimeValue
-
How many nano-seconds in one milli-second
- nsecToMSec(long) - Static method in class org.elasticsearch.common.unit.TimeValue
- Nullable - Annotation Type in org.elasticsearch.common
-
The presence of this annotation on a method parameter indicates that
null
is an acceptable value for that parameter.
O
- org.elasticsearch.bootstrap - package org.elasticsearch.bootstrap
- org.elasticsearch.common - package org.elasticsearch.common
- org.elasticsearch.common.collect - package org.elasticsearch.common.collect
- org.elasticsearch.common.concurrent - package org.elasticsearch.common.concurrent
- org.elasticsearch.common.io - package org.elasticsearch.common.io
- org.elasticsearch.common.unit - package org.elasticsearch.common.unit
- org.elasticsearch.common.util.concurrent - package org.elasticsearch.common.util.concurrent
- org.elasticsearch.core.internal.io - package org.elasticsearch.core.internal.io
P
- parse(String) - Static method in class org.elasticsearch.bootstrap.JavaVersion
- parseBoolean(char[], int, int, boolean) - Static method in class org.elasticsearch.common.Booleans
-
Parses a char[] representation of a boolean value to
boolean
. - parseBoolean(String) - Static method in class org.elasticsearch.common.Booleans
-
Parses a string representation of a boolean value to
boolean
. - parseBoolean(String, boolean) - Static method in class org.elasticsearch.common.Booleans
- parseBoolean(String, Boolean) - Static method in class org.elasticsearch.common.Booleans
- parseBooleanLenient(char[], int, int, boolean) - Static method in class org.elasticsearch.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.elasticsearch.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.elasticsearch.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.elasticsearch.bootstrap.JarHell
-
Parses the classpath into an array of URLs
- parseTimeValue(String, String) - Static method in class org.elasticsearch.common.unit.TimeValue
- parseTimeValue(String, TimeValue, String) - Static method in class org.elasticsearch.common.unit.TimeValue
- PathUtils - Class in org.elasticsearch.common.io
-
Utilities for creating a Path from names, or accessing the default FileSystem.
R
- reason() - Method in annotation type org.elasticsearch.common.SuppressForbidden
- refCount() - Method in class org.elasticsearch.common.util.concurrent.AbstractRefCounted
-
Returns the current reference count.
- RefCounted - Interface in org.elasticsearch.common.util.concurrent
-
An interface for objects that need to be notified when all reference to itself are not in user anymore.
- rm(Path...) - Static method in class org.elasticsearch.core.internal.io.IOUtils
-
Deletes one or more files or directories (and everything underneath it).
S
- seconds() - Method in class org.elasticsearch.common.unit.TimeValue
- secondsFrac() - Method in class org.elasticsearch.common.unit.TimeValue
- Streams - Class in org.elasticsearch.core.internal.io
-
Simple utility methods for file and stream copying.
- Streams() - Constructor for class org.elasticsearch.core.internal.io.Streams
- SuppressForbidden - Annotation Type in org.elasticsearch.common
-
Annotation to suppress forbidden-apis errors inside a whole class, a method, or a field.
T
- timeUnit() - Method in class org.elasticsearch.common.unit.TimeValue
- TimeValue - Class in org.elasticsearch.common.unit
- TimeValue(long) - Constructor for class org.elasticsearch.common.unit.TimeValue
- TimeValue(long, TimeUnit) - Constructor for class org.elasticsearch.common.unit.TimeValue
- timeValueHours(long) - Static method in class org.elasticsearch.common.unit.TimeValue
- timeValueMillis(long) - Static method in class org.elasticsearch.common.unit.TimeValue
- timeValueMinutes(long) - Static method in class org.elasticsearch.common.unit.TimeValue
- timeValueNanos(long) - Static method in class org.elasticsearch.common.unit.TimeValue
- timeValueSeconds(long) - Static method in class org.elasticsearch.common.unit.TimeValue
- toString() - Method in class org.elasticsearch.bootstrap.JavaVersion
- toString() - Method in class org.elasticsearch.common.collect.Tuple
- toString() - Method in class org.elasticsearch.common.unit.TimeValue
-
Returns a
String
representation of the currentTimeValue
. - toUtf8Bytes(char[]) - Static method in class org.elasticsearch.common.CharArrays
-
Encodes the provided char[] to a UTF-8 byte[].
- tryIncRef() - Method in class org.elasticsearch.common.util.concurrent.AbstractRefCounted
- tryIncRef() - Method in interface org.elasticsearch.common.util.concurrent.RefCounted
-
Tries to increment the refCount of this instance.
- tuple(V1, V2) - Static method in class org.elasticsearch.common.collect.Tuple
- Tuple<V1,V2> - Class in org.elasticsearch.common.collect
- Tuple(V1, V2) - Constructor for class org.elasticsearch.common.collect.Tuple
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.common.CharArrays
-
Decodes the provided byte[] to a UTF-8 char[].
V
- v1() - Method in class org.elasticsearch.common.collect.Tuple
- v2() - Method in class org.elasticsearch.common.collect.Tuple
Z
A B C D E F G H I J M N O P R S T U V ZAll Classes All Packages