Actions that Elasticsearch can take either on the data stored on disk or on other nodes.
Interface Summary Interface Description ActionFuture<T>An extension to
Futureallowing for simplified "get" operations.
ActionListener<Response>A listener for action responses or failures. AliasesRequestNeeds to be implemented by all
ActionRequestsubclasses that relate to one or more indices and one or more aliases.
CompositeIndicesRequestMarker interface that needs to be implemented by all
ActionRequestsubclasses that are composed of multiple sub-requests which relate to one or more indices.
DocWriteRequest<T>Generic interface to group ActionRequest, which perform writes to a single document Action requests implementing this can be part of
IndicesRequestNeeds to be implemented by all
ActionRequestsubclasses that relate to one or more indices.
ActionFuturethat listeners can be added to.
RealtimeRequestIndicates that a request can execute in realtime (reads from the translog). RequestValidators.RequestValidator<T extends ActionRequest>A validator that validates an request associated with indices before executing it.
Class Summary Class Description ActionListenerResponseHandler<Response extends TransportResponse>A simple base class for action response listeners, defaulting to using the SAME executor (as its very common on response handlers). ActionModule ActionRequest ActionRequestBuilder<Request extends ActionRequest,Response extends ActionResponse> ActionResponseBase class for responses to action requests. ActionRunnable<Response>Base class for
Runnables that need to call
ActionListener.onFailure(Exception)in case an uncaught exception or error is thrown while the actual action is run.
ActionType<Response extends ActionResponse>A generic action. DocWriteResponseA base class for the response of a write operation that involves a single doc DocWriteResponse.BuilderBase class of all
LatchedActionListener<T>An action listener that allows passing in a
CountDownLatchthat will be counted down after onResponse or onFailure is called
NotifyOnceListener<Response>A listener that ensures that only one of onResponse or onFailure is called. OriginalIndicesUsed to keep track of original indices within internal (e.g. RequestValidators<T extends ActionRequest> ShardOperationFailedExceptionAn exception indicating that a failure occurred performing an operation on the shard. StepListener<Response>A
StepListenerprovides a simple way to write a flow consisting of multiple asynchronous steps without having nested callbacks.
TaskOperationFailureInformation about task operation failures The class is final due to serialization limitations TransportActionNodeProxy<Request extends ActionRequest,Response extends ActionResponse>A generic proxy that will execute the given action against a specific node. ValidateActions