Class: Bullring::Configuration
- Inherits:
-
Object
- Object
- Bullring::Configuration
- Defined in:
- lib/bullring.rb
Instance Attribute Summary collapse
-
#disabled ⇒ Object
Returns the value of attribute disabled.
-
#execution_timeout_secs ⇒ Object
Returns the value of attribute execution_timeout_secs.
-
#first_server_port ⇒ Object
Returns the value of attribute first_server_port.
-
#jvm_init_heap_size ⇒ Object
Returns the value of attribute jvm_init_heap_size.
-
#jvm_max_heap_size ⇒ Object
Returns the value of attribute jvm_max_heap_size.
-
#jvm_young_heap_size ⇒ Object
Returns the value of attribute jvm_young_heap_size.
-
#minify_libraries ⇒ Object
Returns the value of attribute minify_libraries.
-
#registry_port ⇒ Object
Returns the value of attribute registry_port.
-
#server_host ⇒ Object
Returns the value of attribute server_host.
-
#server_max_bringup_time ⇒ Object
Returns the value of attribute server_max_bringup_time.
-
#use_rhino ⇒ Object
Returns the value of attribute use_rhino.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'lib/bullring.rb', line 87 def initialize @execution_timeout_secs = 0.5 @server_host = "127.0.0.1" @first_server_port = 3030 @registry_port = 2999 @jvm_init_heap_size = '128m' @jvm_max_heap_size = '128m' @jvm_young_heap_size = '64m' @minify_libraries = true @server_max_bringup_time = 20 #seconds @use_rhino = true @disabled = false super end |
Instance Attribute Details
#disabled ⇒ Object
Returns the value of attribute disabled.
85 86 87 |
# File 'lib/bullring.rb', line 85 def disabled @disabled end |
#execution_timeout_secs ⇒ Object
Returns the value of attribute execution_timeout_secs.
75 76 77 |
# File 'lib/bullring.rb', line 75 def execution_timeout_secs @execution_timeout_secs end |
#first_server_port ⇒ Object
Returns the value of attribute first_server_port.
77 78 79 |
# File 'lib/bullring.rb', line 77 def first_server_port @first_server_port end |
#jvm_init_heap_size ⇒ Object
Returns the value of attribute jvm_init_heap_size.
79 80 81 |
# File 'lib/bullring.rb', line 79 def jvm_init_heap_size @jvm_init_heap_size end |
#jvm_max_heap_size ⇒ Object
Returns the value of attribute jvm_max_heap_size.
80 81 82 |
# File 'lib/bullring.rb', line 80 def jvm_max_heap_size @jvm_max_heap_size end |
#jvm_young_heap_size ⇒ Object
Returns the value of attribute jvm_young_heap_size.
81 82 83 |
# File 'lib/bullring.rb', line 81 def jvm_young_heap_size @jvm_young_heap_size end |
#minify_libraries ⇒ Object
Returns the value of attribute minify_libraries.
82 83 84 |
# File 'lib/bullring.rb', line 82 def minify_libraries @minify_libraries end |
#registry_port ⇒ Object
Returns the value of attribute registry_port.
78 79 80 |
# File 'lib/bullring.rb', line 78 def registry_port @registry_port end |
#server_host ⇒ Object
Returns the value of attribute server_host.
76 77 78 |
# File 'lib/bullring.rb', line 76 def server_host @server_host end |
#server_max_bringup_time ⇒ Object
Returns the value of attribute server_max_bringup_time.
83 84 85 |
# File 'lib/bullring.rb', line 83 def server_max_bringup_time @server_max_bringup_time end |
#use_rhino ⇒ Object
Returns the value of attribute use_rhino.
84 85 86 |
# File 'lib/bullring.rb', line 84 def use_rhino @use_rhino end |