org.apache.synapse.endpoints.algorithms
Class WeightedRoundRobinView

java.lang.Object
  extended by org.apache.synapse.endpoints.algorithms.WeightedRoundRobinView
All Implemented Interfaces:
WeightedRoundRobinViewMBean

public class WeightedRoundRobinView
extends Object
implements WeightedRoundRobinViewMBean


Constructor Summary
WeightedRoundRobinView(WeightedRoundRobin algorithm)
           
 
Method Summary
 void changeWeight(int pos, int weight)
           
 int[] getCurrentWeights()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeightedRoundRobinView

public WeightedRoundRobinView(WeightedRoundRobin algorithm)
Method Detail

changeWeight

public void changeWeight(int pos,
                         int weight)
Specified by:
changeWeight in interface WeightedRoundRobinViewMBean

getCurrentWeights

public int[] getCurrentWeights()
Specified by:
getCurrentWeights in interface WeightedRoundRobinViewMBean


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.