Package akka.routing

Examples of akka.routing.RoutedActorRef


    private RouterActorRefPropertyExtractor() {
        super();
    }

    public Map<String, Object> extractProperties(ActorRef actorRef) {
        RoutedActorRef ref = (RoutedActorRef) actorRef;
        Map<String, Object> result = new HashMap<String, Object>();
        RouterConfig routerConfig = ref.routerConfig();
        result.putAll(AkkaRouterConfigHelper.getInstance().getRouterConfigInformation(routerConfig));
        result.put("local", Boolean.valueOf(ref.isLocal()));
        return result;
    }
View Full Code Here

TOP

Related Classes of akka.routing.RoutedActorRef

Copyright © 2018 www.massapicom. 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.