All Known Implementing Classes:
AbstractLoadBalancer, IdleToThresholdBalancer, OneToIdleBalancer, OriginalAbstractLoadBalancer, ToThresholdBalancer

public interface ILoadBalancer
  • Method Details

    • activelyBalance

      void activelyBalance(IResourceInstance instance)
      Balances the load. Two scenarios are possible. Either the load is balanced between all instances, or the specified instances pulls processes from the busiest one.
      Parameters:
      instance -
    • onSleep

      void onSleep(IResourceInstance lastInstance)
    • onFork

      void onFork(IResourceInstance current)
    • onTerminate

      void onTerminate(IResourceInstance lastInstance)
    • onWake

      void onWake(IResourceInstance current)