Search in sources :

Example 1 with RoundRobinLoadBalancingSpi

use of org.apache.ignite.spi.loadbalancing.roundrobin.RoundRobinLoadBalancingSpi in project ignite by apache.

the class GridManagerStopSelfTest method testStopLoadBalancingManager.

/**
     * @throws Exception If failed.
     */
public void testStopLoadBalancingManager() throws Exception {
    RoundRobinLoadBalancingSpi spi = new RoundRobinLoadBalancingSpi();
    injectLogger(spi);
    ctx.config().setLoadBalancingSpi(spi);
    GridLoadBalancerManager mgr = new GridLoadBalancerManager(ctx);
    mgr.stop(true);
}
Also used : RoundRobinLoadBalancingSpi(org.apache.ignite.spi.loadbalancing.roundrobin.RoundRobinLoadBalancingSpi) GridLoadBalancerManager(org.apache.ignite.internal.managers.loadbalancer.GridLoadBalancerManager)

Aggregations

GridLoadBalancerManager (org.apache.ignite.internal.managers.loadbalancer.GridLoadBalancerManager)1 RoundRobinLoadBalancingSpi (org.apache.ignite.spi.loadbalancing.roundrobin.RoundRobinLoadBalancingSpi)1