Class Rddb::Server::Server
In: lib/rddb/server/server.rb
Parent: Object

Server class.

Methods

new   run  

Attributes

options  [R]  The options

Public Class methods

Initialize the server.

[Source]

    # File lib/rddb/server/server.rb, line 9
 9:       def initialize(options={})
10:         @options = options
11:       end

Public Instance methods

Run the server.

[Source]

    # File lib/rddb/server/server.rb, line 14
14:       def run
15:         Daemons.run_proc('server') do
16:           ring_service_thread = RingService.new(options).run
17:           mongrel_service_thread = MongrelService.new(options).run
18:           ring_service_thread.join
19:           mongrel_thread.join
20:         end
21:       end

[Validate]