コード例 #1
0
 ///<summary>/_nodes/{node_id}/hot_threads</summary>
 ///<param name = "nodeId">Optional, accepts null</param>
 public NodesHotThreadsRequest(NodeIds nodeId) : base(r => r.Optional("node_id", nodeId))
 {
 }
コード例 #2
0
 ///<summary>/_cat/allocation/{node_id}</summary>
 ///<param name = "nodeId">Optional, accepts null</param>
 public CatAllocationDescriptor(NodeIds nodeId) : base(r => r.Optional("node_id", nodeId))
 {
 }
コード例 #3
0
 ///<summary>A comma-separated list of node IDs or names to limit the returned information</summary>
 public CatAllocationDescriptor NodeId(NodeIds nodeId) => Assign(nodeId, (a, v) => a.RouteValues.Optional("node_id", v));
コード例 #4
0
 ///<summary>/_cluster/stats/nodes/{node_id}</summary>
 ///<param name = "nodeId">Optional, accepts null</param>
 public ClusterStatsDescriptor(NodeIds nodeId) : base(r => r.Optional("node_id", nodeId))
 {
 }
コード例 #5
0
 ///<summary>A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes</summary>
 public ClusterStatsDescriptor NodeId(NodeIds nodeId) => Assign(nodeId, (a, v) => a.RouteValues.Optional("node_id", v));
コード例 #6
0
 ///<summary>/_nodes/{node_id}</summary>
 ///<param name = "nodeId">Optional, accepts null</param>
 public NodesInfoDescriptor(NodeIds nodeId) : base(r => r.Optional("node_id", nodeId))
 {
 }
コード例 #7
0
 ///<summary>/_nodes/{node_id}/{metric}</summary>
 ///<param name = "nodeId">Optional, accepts null</param>
 ///<param name = "metric">Optional, accepts null</param>
 public NodesInfoDescriptor(NodeIds nodeId, Metrics metric) : base(r => r.Optional("node_id", nodeId).Optional("metric", metric))
 {
 }
コード例 #8
0
 ///<summary>A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes</summary>
 public NodesHotThreadsDescriptor NodeId(NodeIds nodeId) => Assign(nodeId, (a, v) => a.RouteValues.Optional("node_id", v));
コード例 #9
0
 ///<summary>/_nodes/{node_id}/hot_threads</summary>
 ///<param name = "nodeId">Optional, accepts null</param>
 public NodesHotThreadsDescriptor(NodeIds nodeId) : base(r => r.Optional("node_id", nodeId))
 {
 }
コード例 #10
0
 ///<summary>/_nodes/{node_id}/stats/{metric}/{index_metric}</summary>
 ///<param name = "nodeId">Optional, accepts null</param>
 ///<param name = "metric">Optional, accepts null</param>
 ///<param name = "indexMetric">Optional, accepts null</param>
 public NodesStatsDescriptor(NodeIds nodeId, Metrics metric, IndexMetrics indexMetric) : base(r => r.Optional("node_id", nodeId).Optional("metric", metric).Optional("index_metric", indexMetric))
 {
 }
コード例 #11
0
 ///<summary>A comma-separated list of node IDs to span the reload/reinit call. Should stay empty because reloading usually involves all cluster nodes.</summary>
 public ReloadSecureSettingsDescriptor NodeId(NodeIds nodeId) => Assign(nodeId, (a, v) => a.RouteValues.Optional("node_id", v));
コード例 #12
0
 ///<summary>/_nodes/{node_id}/reload_secure_settings</summary>
 ///<param name = "nodeId">Optional, accepts null</param>
 public ReloadSecureSettingsDescriptor(NodeIds nodeId) : base(r => r.Optional("node_id", nodeId))
 {
 }