Class: Tupelo::Client::NullTuplespace

Inherits:
Object
  • Object
show all
Includes:
Enumerable
Defined in:
lib/tupelo/client/tuplespace.rb

Overview

Tuplespace that stores nothing. Very efficient for large spaces! Useful for clients that don’t need to take or read the stored tuples. The write, pulse, and blocking read operations all work correctly. The client is essentially a pub/sub client, then. See the –pubsub switch in tup for an example.

Instance Method Summary collapse

Instance Method Details

#clearObject



47
# File 'lib/tupelo/client/tuplespace.rb', line 47

def clear; end

#delete_onceObject



43
# File 'lib/tupelo/client/tuplespace.rb', line 43

def delete_once(*); end

#eachObject



42
# File 'lib/tupelo/client/tuplespace.rb', line 42

def each(*); end

#find_distinct_matches_forObject

?



45
# File 'lib/tupelo/client/tuplespace.rb', line 45

def find_distinct_matches_for(*); raise; end

#find_match_forObject

?



46
# File 'lib/tupelo/client/tuplespace.rb', line 46

def find_match_for(*); raise; end

#insertObject



44
# File 'lib/tupelo/client/tuplespace.rb', line 44

def insert(*); self; end