Class: N::Cluster
Overview
A Cluster manages the state of a collection of servers. The cluster synchronizes the servers and distributes the state. An older version used a polling system, ie: the servers polled the cluster to obtain the state. This version uses a push system, ie when the state is changed a delta is pushed to the clients.
TODO: use Sync instead of Monitor
Defined Under Namespace
Classes: CHash, Clm, SHash, Slm
Instance Method Summary collapse
-
#initialize(name = "Cluster") ⇒ Cluster
constructor
A new instance of Cluster.
- #run ⇒ Object
Constructor Details
#initialize(name = "Cluster") ⇒ Cluster
Returns a new instance of Cluster.
196 197 198 |
# File 'lib/nitro/cluster.rb', line 196 def initialize(name = "Cluster") super end |