Module org.elasticsearch.server
Package org.elasticsearch.index.query
Class QueryRewriteRemoteAsyncAction<T,U extends QueryRewriteRemoteAsyncAction<T,U>>
java.lang.Object
org.elasticsearch.index.query.QueryRewriteAsyncAction<T,U>
org.elasticsearch.index.query.QueryRewriteRemoteAsyncAction<T,U>
public abstract class QueryRewriteRemoteAsyncAction<T,U extends QueryRewriteRemoteAsyncAction<T,U>>
extends QueryRewriteAsyncAction<T,U>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected final voidexecute(Client client, ActionListener<T> listener) This method will execute the async action and pass its result to the listener.protected abstract voidexecute(RemoteClusterClient client, ThreadContext threadContext, ActionListener<T> listener) inthashCode()Methods inherited from class org.elasticsearch.index.query.QueryRewriteAsyncAction
doEquals, doHashCode, execute
-
Constructor Details
-
QueryRewriteRemoteAsyncAction
-
-
Method Details
-
getClusterAlias
-
execute
Description copied from class:QueryRewriteAsyncActionThis method will execute the async action and pass its result to the listener.- Specified by:
executein classQueryRewriteAsyncAction<T,U extends QueryRewriteRemoteAsyncAction<T, U>> - Parameters:
client- An internal client that can be used during execution.listener- The listener that will be called with the action result
-
execute
protected abstract void execute(RemoteClusterClient client, ThreadContext threadContext, ActionListener<T> listener) -
hashCode
public int hashCode()- Overrides:
hashCodein classQueryRewriteAsyncAction<T,U extends QueryRewriteRemoteAsyncAction<T, U>>
-
equals
- Overrides:
equalsin classQueryRewriteAsyncAction<T,U extends QueryRewriteRemoteAsyncAction<T, U>>
-