bind transport validate query actions as singletons
This commit is contained in:
parent
0f1a908bae
commit
3c88eacb01
|
@ -52,6 +52,7 @@ import org.elasticsearch.action.admin.indices.stats.TransportIndicesStatsAction;
|
|||
import org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction;
|
||||
import org.elasticsearch.action.admin.indices.template.delete.TransportDeleteIndexTemplateAction;
|
||||
import org.elasticsearch.action.admin.indices.template.put.TransportPutIndexTemplateAction;
|
||||
import org.elasticsearch.action.admin.indices.validate.query.TransportValidateQueryAction;
|
||||
import org.elasticsearch.action.bulk.TransportBulkAction;
|
||||
import org.elasticsearch.action.bulk.TransportShardBulkAction;
|
||||
import org.elasticsearch.action.count.TransportCountAction;
|
||||
|
@ -110,6 +111,7 @@ public class TransportActionModule extends AbstractModule {
|
|||
bind(TransportAnalyzeAction.class).asEagerSingleton();
|
||||
bind(TransportPutIndexTemplateAction.class).asEagerSingleton();
|
||||
bind(TransportDeleteIndexTemplateAction.class).asEagerSingleton();
|
||||
bind(TransportValidateQueryAction.class).asEagerSingleton();
|
||||
|
||||
bind(TransportGatewaySnapshotAction.class).asEagerSingleton();
|
||||
|
||||
|
|
|
@ -50,6 +50,7 @@ import org.elasticsearch.client.transport.action.admin.indices.stats.ClientTrans
|
|||
import org.elasticsearch.client.transport.action.admin.indices.status.ClientTransportIndicesStatusAction;
|
||||
import org.elasticsearch.client.transport.action.admin.indices.template.delete.ClientTransportDeleteIndexTemplateAction;
|
||||
import org.elasticsearch.client.transport.action.admin.indices.template.put.ClientTransportPutIndexTemplateAction;
|
||||
import org.elasticsearch.client.transport.action.admin.indices.validate.query.ClientTransportValidateQueryAction;
|
||||
import org.elasticsearch.client.transport.action.bulk.ClientTransportBulkAction;
|
||||
import org.elasticsearch.client.transport.action.count.ClientTransportCountAction;
|
||||
import org.elasticsearch.client.transport.action.delete.ClientTransportDeleteAction;
|
||||
|
@ -100,6 +101,7 @@ public class ClientTransportActionModule extends AbstractModule {
|
|||
bind(ClientTransportAnalyzeAction.class).asEagerSingleton();
|
||||
bind(ClientTransportPutIndexTemplateAction.class).asEagerSingleton();
|
||||
bind(ClientTransportDeleteIndexTemplateAction.class).asEagerSingleton();
|
||||
bind(ClientTransportValidateQueryAction.class).asEagerSingleton();
|
||||
|
||||
bind(ClientTransportNodesInfoAction.class).asEagerSingleton();
|
||||
bind(ClientTransportNodesStatsAction.class).asEagerSingleton();
|
||||
|
|
Loading…
Reference in New Issue