Class: IceGrid::AdaptiveLoadBalancingPolicy

Inherits:
LoadBalancingPolicy show all
Defined in:
ruby/IceGrid/Descriptor.rb

Instance Attribute Summary collapse

Attributes inherited from LoadBalancingPolicy

#nReplicas

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 = '', loadSample = '') ⇒ AdaptiveLoadBalancingPolicy

Returns a new instance of AdaptiveLoadBalancingPolicy.



665
666
667
668
# File 'ruby/IceGrid/Descriptor.rb', line 665

def initialize(nReplicas='', loadSample='')
    super(nReplicas)
    @loadSample = loadSample
end

Instance Attribute Details

#loadSampleObject

Returns the value of attribute loadSample.



670
671
672
# File 'ruby/IceGrid/Descriptor.rb', line 670

def loadSample
  @loadSample
end