Class Moneta::Server
In: lib/moneta/server.rb
Parent: Object

Moneta server to be used together with Moneta::Adapters::Client @api public

Methods

new   run   running?   stop  

Constants

TIMEOUT = 1
MAXSIZE = 0x100000

Public Class methods

@param [Hash] options @option options [Integer] :port (9000) TCP port @option options [String] :socket Alternative Unix socket file name

Public Instance methods

Run the server

@note This method blocks!

Is the server running

@return [Boolean] true if the server is running

Stop the server

[Validate]