JAC project
AOPSYS
CEDRIC & LIP6 labs

org.objectweb.jac.aspects.distribution
Class LoadBalancingAC.LoadBalancingWrapper

java.lang.Object
  |
  +--org.objectweb.jac.core.Wrapper
        |
        +--org.objectweb.jac.aspects.distribution.LoadBalancingAC.LoadBalancingWrapper
All Implemented Interfaces:
Serializable
Enclosing class:
LoadBalancingAC

public class LoadBalancingAC.LoadBalancingWrapper
extends Wrapper

This inner-wrapper handles the load-balancing wrapping methods that actually implement the load-balancing algorithms.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.jac.core.Wrapper
ac
 
Constructor Summary
LoadBalancingAC.LoadBalancingWrapper(AspectComponent ac, String hostExpr)
           
 
Method Summary
 void invalidate()
           
 Object randomBalance(Interaction interaction)
          Performs a random load-balancing.
 Object roundTripBalance(Interaction interaction)
          Performs a round-trip load-balancing.
 
Methods inherited from class org.objectweb.jac.core.Wrapper
attr, attrdef, defines, getAspectComponent, getAspectComponentName, getExceptionHandlers, proceed, setAspectComponent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoadBalancingAC.LoadBalancingWrapper

public LoadBalancingAC.LoadBalancingWrapper(AspectComponent ac,
                                            String hostExpr)
Method Detail

invalidate

public void invalidate()

roundTripBalance

public Object roundTripBalance(Interaction interaction)
Performs a round-trip load-balancing.


randomBalance

public Object randomBalance(Interaction interaction)
Performs a random load-balancing.


Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli