Module: DCell::Directory
Overview
Directory of nodes connected to the DCell cluster
Instance Method Summary collapse
-
#all ⇒ Object
List all of the node IDs in the directory.
-
#get(node_id) ⇒ Object
(also: #[])
Get the URL for a particular Node ID.
-
#set(node_id, addr) ⇒ Object
(also: #[]=)
Set the address of a particular Node ID.
Instance Method Details
#all ⇒ Object
List all of the node IDs in the directory
19 20 21 |
# File 'lib/dcell/directory.rb', line 19 def all DCell.registry.nodes end |