- Inheritance
- < Object
TupleBag is an unordered collection of tuples. It is the basis of Tuplespace.
Classes & Modules
Methods
Instance
| Visibility | Signature | 
|---|---|
| public | delete (tuple) | 
| public | delete_unless_alive () | 
| public | find (template) | 
| public | find_all (template) | 
| public | find_all_template (tuple) | 
| public | has_expires? () | 
| public | push (tuple) | 
Instance Method Detail
delete(tuple)
Removes tuple from the TupleBag.
delete_unless_alive()
Delete tuples which dead tuples from the TupleBag, returning the deleted tuples.
find(template)
Finds a live tuple that matches template.
find_all(template)
Finds all live tuples that match template.
find_all_template(tuple)
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.
push(tuple)
Add tuple to the TupleBag.