| Class | Moneta::Shared |
| In: |
lib/moneta/shared.rb
|
| Parent: | Wrapper |
Shares a store between processes
@example Share a store
Moneta.build do
use :Transformer, :key => :marshal, :value => :marshal
use :Shared do
adapter :GDBM, :file => 'shared.db'
end
end
@api public
@param [Hash] options @option options [Integer] :port (9000) TCP port @option options [String] :host Server hostname @option options [String] :socket Unix socket file name