Class: JrubyWhirr::Cluster
- Inherits:
-
Object
- Object
- JrubyWhirr::Cluster
- Defined in:
- lib/jruby_whirr/cluster.rb
Instance Attribute Summary collapse
-
#cluster ⇒ Object
Returns the value of attribute cluster.
Instance Method Summary collapse
- #get_configuration ⇒ Object
-
#get_instances ⇒ Object
Get a set of Instances in the cluster.
-
#initialize(cluster) ⇒ Cluster
constructor
A new instance of Cluster.
Constructor Details
#initialize(cluster) ⇒ Cluster
Returns a new instance of Cluster.
7 8 9 |
# File 'lib/jruby_whirr/cluster.rb', line 7 def initialize (cluster) @cluster = cluster end |
Instance Attribute Details
#cluster ⇒ Object
Returns the value of attribute cluster.
5 6 7 |
# File 'lib/jruby_whirr/cluster.rb', line 5 def cluster @cluster end |
Instance Method Details
#get_configuration ⇒ Object
16 17 18 |
# File 'lib/jruby_whirr/cluster.rb', line 16 def get_configuration @cluster.getConfiguration() end |
#get_instances ⇒ Object
Get a set of Instances in the cluster
12 13 14 |
# File 'lib/jruby_whirr/cluster.rb', line 12 def get_instances @cluster.getInstances() end |