Class

TupleBag

Extends:

TupleBag is an unordered collection of tuples. It is the basis of Tuplespace.

Public Methods
delete Removes ary from the TupleBag.
delete_unless_alive Delete tuples which dead tuples from the TupleBag, returning the deleted tuples.
find Finds a live tuple that matches template.
find_all Finds all live tuples that match template.
find_all_template Finds all tuples in the TupleBag which when treated as templates, match tuple and are alive.
has_expires? true if the TupleBag to see if it has any expired entries.
new
push Add ary to the TupleBag.
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.