|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.common.component.AbstractComponent org.elasticsearch.action.support.BaseAction<Request,Response>
public abstract class BaseAction<Request extends ActionRequest,Response extends ActionResponse>
Field Summary | |
---|---|
protected ThreadPool |
threadPool
|
Fields inherited from class org.elasticsearch.common.component.AbstractComponent |
---|
componentSettings, logger, settings |
Constructor Summary | |
---|---|
protected |
BaseAction(Settings settings,
ThreadPool threadPool)
|
Method Summary | |
---|---|
protected abstract void |
doExecute(Request request,
ActionListener<Response> listener)
|
ActionFuture<Response> |
execute(Request request)
|
void |
execute(Request request,
ActionListener<Response> listener)
|
Methods inherited from class org.elasticsearch.common.component.AbstractComponent |
---|
nodeName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final ThreadPool threadPool
Constructor Detail |
---|
protected BaseAction(Settings settings, ThreadPool threadPool)
Method Detail |
---|
public ActionFuture<Response> execute(Request request) throws ElasticSearchException
execute
in interface Action<Request extends ActionRequest,Response extends ActionResponse>
ElasticSearchException
public void execute(Request request, ActionListener<Response> listener)
execute
in interface Action<Request extends ActionRequest,Response extends ActionResponse>
protected abstract void doExecute(Request request, ActionListener<Response> listener)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |