lib/vas/sqlfire/server_instances.rb
def update(options = {})
      payload = {}

      options.each { |key, value|
        if (UPDATE_PAYLOAD_KEYS.include?(key))
          payload[key] = value
        end
      }

      if (options.has_key? :installation)
        payload[:installation] = options[:installation].location
      end

      client.post(location, payload)
      reload
    end
# Updates the instance using the supplied +options+.
#
# @param options [Hash] optional configuration for the instance
#
# @option options 'bind-address' [String] The property in a node's metadata to use to determine the address that the
#   server binds to for peer-to-peer communication. If omitted or +nil+, the configuration will not be changed. If
#   set to an empty string the server will use the node's hostname
# @option options 'client-bind-address' [String] The property in a node's metadata to use to determine the address
#   that the server binds to for client communication. If omitted or +nil+, the configuration will not be changed.
#   If set to an empty string the server will bind to localhost
# @option options 'client-port' [Integer] The port that the server listens on for client connections. If omitted or
#   +nil+, the configuration will not be changed
# @option options 'critical-heap-percentage' [Integer] Critical heap threshold as a percentage of the old generation
#   heap. Valid value are 0-100 inclusive. If omitted or +nil+, the configuration will not be changed
# @option options 'initial-heap' [String] The intial heap size to be used by the server's JVM. If omitted or +nil+,
#   the configuration will not be changed. If set to an empty string the JVM's default is used
# @option options :installation [String] The installation to be used by the instance. If omitted or +nil+, the
#   configuration will not be changed.
# @option options 'jvm-options' [String[]] The JVM options that are passed to the server's JVM when it is started.
#   If omitted or +nil+, the configuration will not be chanaged
# @option options 'max-heap' [String] The maximum heap size to be used by the server's JVM. If omitted or +nil+, the
#   configuration will not be changed. If set to an empty string the JVM's default is used
# @option options 'run-netserver' [Boolean] Whether the server should run a netserver that can service thin
#   clients. If omitted or +nil+, the configuration will not be changed
#
# @return [void]
Updates the instance using the supplied +options+.
Updates the instance using the supplied + options + .
def update(options = {})
      payload = {}
      options.each { |key, value|
        if (UPDATE_PAYLOAD_KEYS.include?(key))
          payload[key] = value
        end
      }
      if (options.has_key? :installation)
        payload[:installation] = options[:installation].location
      end
      client.post(location, payload)
      reload
    end
def update ( options = { } ) payload = { } options . each { | key , value | if ( UPDATE_PAYLOAD_KEYS . include? ( key ) ) payload [ key ] = value end } if ( options . has_key? :installation ) payload [ :installation ] = options [ :installation ] . location end client . post ( location , payload ) reload end
Updates the instance using the supplied +options+.
Updates the instance using the supplied + options + .
None
void
options
'run-netserver'  Whether the server should run a netserver that can service thin clients. If omitted or +nil+, the configuration will not be changed
' run - netserver ' Whether the server should run a netserver that can service thin clients . If omitted or + nil + the configuration will not be changed