Class: IceGrid::LoadBalancingPolicy

Inherits:
Ice::Value show all
Defined in:
lib/IceGrid/Descriptor.rb

Instance Attribute Summary collapse

Attributes inherited from Ice::Value

#_ice_slicedData

Instance Method Summary collapse

Methods inherited from Ice::Value

#ice_getSlicedData, #ice_id, ice_staticId, #inspect

Constructor Details

#initialize(nReplicas = '') ⇒ LoadBalancingPolicy

Returns a new instance of LoadBalancingPolicy.



626
627
628
# File 'lib/IceGrid/Descriptor.rb', line 626

def initialize(nReplicas='')
    @nReplicas = nReplicas
end

Instance Attribute Details

#nReplicasObject

Returns the value of attribute nReplicas.



630
631
632
# File 'lib/IceGrid/Descriptor.rb', line 630

def nReplicas
  @nReplicas
end