Class: Drnbench::Server::EngineConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/drnbench/server/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEngineConfiguration

Returns a new instance of EngineConfiguration.


23
24
25
26
27
28
29
30
# File 'lib/drnbench/server/configuration.rb', line 23

def initialize
  @port            = 24224
  @host            = "localhost"
  @tag             = "droonga"
  @base_path       = Pathname(Dir.pwd)
  @fluentd         = "fluentd"
  @fluentd_options = []
end

Instance Attribute Details

#base_pathObject

Returns the value of attribute base_path


20
21
22
# File 'lib/drnbench/server/configuration.rb', line 20

def base_path
  @base_path
end

#engine_config_pathObject

Returns the value of attribute engine_config_path


20
21
22
# File 'lib/drnbench/server/configuration.rb', line 20

def engine_config_path
  @engine_config_path
end

#fluentdObject

Returns the value of attribute fluentd


21
22
23
# File 'lib/drnbench/server/configuration.rb', line 21

def fluentd
  @fluentd
end

#fluentd_optionsObject

Returns the value of attribute fluentd_options


21
22
23
# File 'lib/drnbench/server/configuration.rb', line 21

def fluentd_options
  @fluentd_options
end

#hostObject

Returns the value of attribute host


19
20
21
# File 'lib/drnbench/server/configuration.rb', line 19

def host
  @host
end

#portObject

Returns the value of attribute port


19
20
21
# File 'lib/drnbench/server/configuration.rb', line 19

def port
  @port
end

#tagObject

Returns the value of attribute tag


19
20
21
# File 'lib/drnbench/server/configuration.rb', line 19

def tag
  @tag
end