Class: IceGrid::AdaptiveLoadBalancingPolicy

Inherits:
LoadBalancingPolicy show all
Defined in:
lib/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.



700
701
702
703
# File 'lib/IceGrid/Descriptor.rb', line 700

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

Instance Attribute Details

#loadSampleObject

Returns the value of attribute loadSample.



705
706
707
# File 'lib/IceGrid/Descriptor.rb', line 705

def loadSample
  @loadSample
end