Ejemplo n.º 1
0
 private static List <Func <object> > ClusterCommandsAsync(ElasticClient elastic)
 {
     return(new List <Func <object> >
     {
         () => elastic.ClusterAllocationExplainAsync(new ClusterAllocationExplainRequest()),
         () => elastic.ClusterGetSettingsAsync(new ClusterGetSettingsRequest()),
         () => elastic.ClusterHealthAsync(new ClusterHealthRequest()),
         () => elastic.ClusterPendingTasksAsync(new ClusterPendingTasksRequest()),
         () => elastic.ClusterPutSettingsAsync(new ClusterPutSettingsRequest()),
         () => elastic.ClusterRerouteAsync(new ClusterRerouteRequest()),
         () => elastic.ClusterStateAsync(new ClusterStateRequest()),
         () => elastic.ClusterStatsAsync(new ClusterStatsRequest()),
     });
 }