elasticsearch-api/lib/elasticsearch/api/actions/cluster/pending_tasks.rb
def pending_tasks(arguments = {})
          headers = arguments.delete(:headers) || {}

          body = nil

          arguments = arguments.clone

          method = Elasticsearch::API::HTTP_GET
          path   = "_cluster/pending_tasks"
          params = Utils.process_params(arguments)

          perform_request(method, path, params, body, headers).body
        end
# Returns a list of any cluster-level changes (e.g. create index, update mapping,
# allocate or fail shard) which have not yet been executed.
#
# @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
# @option arguments [Time] :master_timeout Specify timeout for connection to master
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html
#
Returns a list of any cluster-level changes  which have not yet been executed.
Returns a list of any cluster - level changes which have not yet been executed .
def pending_tasks(arguments = {})
          headers = arguments.delete(:headers) || {}
          body = nil
          arguments = arguments.clone
          method = Elasticsearch::API::HTTP_GET
          path   = "_cluster/pending_tasks"
          params = Utils.process_params(arguments)
          perform_request(method, path, params, body, headers).body
        end
def pending_tasks ( arguments = { } ) headers = arguments . delete ( :headers ) || { } body = nil arguments = arguments . clone method = Elasticsearch :: API :: HTTP_GET path = "_cluster/pending_tasks" params = Utils . process_params ( arguments ) perform_request ( method , path , params , body , headers ) . body end
Returns a list of any cluster-level changes (e.g.
Returns a list of any cluster - level changes ( e . g .
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None