org.smallmind.cloud.cluster.pivot
Class RandomWeightedClusterPivot
java.lang.Object
org.smallmind.cloud.cluster.pivot.RandomWeightedClusterPivot
- All Implemented Interfaces:
- ClusterPivot
public class RandomWeightedClusterPivot
- extends Object
- implements ClusterPivot
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomWeightedClusterPivot
public RandomWeightedClusterPivot()
updateClusterStatus
public void updateClusterStatus(ClusterEndpoint clusterEndpoint,
int freeCapacity)
- Specified by:
updateClusterStatus in interface ClusterPivot
removeClusterMember
public void removeClusterMember(ClusterEndpoint clusterEndpoint)
- Specified by:
removeClusterMember in interface ClusterPivot
nextRequestAddress
public ClusterEndpoint nextRequestAddress(Object[] parameters,
ClusterEndpoint failedEndpoint)
- Specified by:
nextRequestAddress in interface ClusterPivot
Copyright © 2011. All Rights Reserved.