Class: Tupelo::PersistentArchiver::ForkRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/tupelo/tuplets/persistent-archiver.rb

Overview

three kinds of requests:

  1. fork a new client, with given Client class, and subselect

using given templates
  1. accept tcp/unix socket connection and fork, and then:

a. dump subspace matching given templates OR

b. dump all ops in a given range of the global sequence
   matching given templates

the fork happens when tuplespace is consistent; we do this by passing cmd to worker thread, with conn

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(io) ⇒ ForkRequest

Returns a new instance of ForkRequest.



40
41
42
# File 'lib/tupelo/tuplets/persistent-archiver.rb', line 40

def initialize io
  @io = io
end

Instance Attribute Details

#ioObject (readonly)

Returns the value of attribute io.



39
40
41
# File 'lib/tupelo/tuplets/persistent-archiver.rb', line 39

def io
  @io
end