Examples of nrOfInstances()


Examples of akka.routing.RoundRobinRouter.nrOfInstances()

    private RoundRobinRouterDataExtractor() {
    }

    public Map<String, String> extract(RouterConfig routerConfig) {
        RoundRobinRouter router = (RoundRobinRouter) routerConfig;
        return Collections.singletonMap("Num of instances", String.valueOf(router.nrOfInstances()));
    }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.