Sha256: 6c91a462a3d3b6ea6f23e74a4fd46c3dcfe32f416f4cd499574c7170fb130c1e

Contents?: true

Size: 647 Bytes

Versions: 7

Compression:

Stored size: 647 Bytes

Contents

module Elasticsearch
  module API
    module Actions

      # Abort a running benchmark
      #
      # @example
      #
      #     client.abort_benchmark name: 'my_benchmark'
      #
      # @option arguments [String] :name A benchmark name
      #
      # @see http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-benchmark.html
      #
      def abort_benchmark(arguments={})
        valid_params = [
           ]
        method = HTTP_POST
        path   = "_bench/abort/#{arguments[:name]}"
        params = {}
        body   = nil

        perform_request(method, path, params, body).body
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
elasticsearch-api-1.0.14 lib/elasticsearch/api/actions/abort_benchmark.rb
elasticsearch-api-1.0.13 lib/elasticsearch/api/actions/abort_benchmark.rb
elasticsearch-api-1.0.12 lib/elasticsearch/api/actions/abort_benchmark.rb
elasticsearch-api-1.0.11 lib/elasticsearch/api/actions/abort_benchmark.rb
elasticsearch-api-1.0.10 lib/elasticsearch/api/actions/abort_benchmark.rb
elasticsearch-api-1.0.9 lib/elasticsearch/api/actions/abort_benchmark.rb
elasticsearch-api-1.0.7 lib/elasticsearch/api/actions/abort_benchmark.rb