change executor to be management and not cached for stats/status/info APIs

This commit is contained in:
Shay Banon 2011-08-25 12:28:26 +03:00
parent f9ae132c72
commit ee585ad96c
4 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@ public class TransportNodesInfoAction extends TransportNodesOperationAction<Node
} }
@Override protected String executor() { @Override protected String executor() {
return ThreadPool.Names.CACHED; return ThreadPool.Names.MANAGEMENT;
} }
@Override protected String transportAction() { @Override protected String transportAction() {

View File

@ -50,7 +50,7 @@ public class TransportNodesStatsAction extends TransportNodesOperationAction<Nod
} }
@Override protected String executor() { @Override protected String executor() {
return ThreadPool.Names.CACHED; return ThreadPool.Names.MANAGEMENT;
} }
@Override protected String transportAction() { @Override protected String transportAction() {

View File

@ -60,7 +60,7 @@ public class TransportIndicesStatsAction extends TransportBroadcastOperationActi
} }
@Override protected String executor() { @Override protected String executor() {
return ThreadPool.Names.CACHED; return ThreadPool.Names.MANAGEMENT;
} }
@Override protected String transportAction() { @Override protected String transportAction() {

View File

@ -69,7 +69,7 @@ public class TransportIndicesStatusAction extends TransportBroadcastOperationAct
} }
@Override protected String executor() { @Override protected String executor() {
return ThreadPool.Names.CACHED; return ThreadPool.Names.MANAGEMENT;
} }
@Override protected String transportAction() { @Override protected String transportAction() {