Interface WeightedRandomLoadBalancingSpiMBean
-
- All Superinterfaces:
IgniteSpiManagementMBean
@MXBeanDescription("MBean that provides access to weighted random load balancing SPI configuration.") public interface WeightedRandomLoadBalancingSpiMBean extends IgniteSpiManagementMBean
Management MBean forWeightedRandomLoadBalancingSpiSPI.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetNodeWeight()Gets weight of this node.booleanisUseWeights()Checks whether node weights are considered when doing random load balancing.-
Methods inherited from interface org.apache.ignite.spi.IgniteSpiManagementMBean
getIgniteHome, getLocalNodeId, getName, getStartTimestamp, getStartTimestampFormatted, getUpTime, getUpTimeFormatted
-
-
-
-
Method Detail
-
isUseWeights
@MXBeanDescription("Whether node weights are considered when doing random load balancing.") boolean isUseWeights()
Checks whether node weights are considered when doing random load balancing.- Returns:
- If
truethen random load is distributed according to node weights.
-
getNodeWeight
@MXBeanDescription("Weight of this node.") int getNodeWeight()
Gets weight of this node.- Returns:
- Weight of this node.
-
-