Class: Tupelo::Archiver::ForkRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/tupelo/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 tuples matching given templates OR

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

the fork happens when tuplestore 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.



49
50
51
# File 'lib/tupelo/archiver.rb', line 49

def initialize io
  @io = io
end

Instance Attribute Details

#ioObject (readonly)

Returns the value of attribute io.



48
49
50
# File 'lib/tupelo/archiver.rb', line 48

def io
  @io
end