akka.remote.routing
Class RemoteRouteeProvider

java.lang.Object
  extended by akka.routing.RouteeProvider
      extended by akka.remote.routing.RemoteRouteeProvider

public final class RemoteRouteeProvider
extends RouteeProvider

Factory and registry for routees of the router. Deploys new routees on the specified nodes, round-robin.

Routee paths may not be combined with remote target nodes.


Constructor Summary
RemoteRouteeProvider(scala.collection.Iterable<Address> nodes, ActorContext _context, Props _routeeProps, scala.Option<Resizer> _resizer)
           
 
Method Summary
 void createRoutees(int nrOfInstances)
          Creates new routees from specified Props and registers them.
 void registerRouteesFor(scala.collection.immutable.Iterable<java.lang.String> paths)
          Looks up routes with specified paths and registers them.
 
Methods inherited from class akka.routing.RouteeProvider
context, delayedStop, getRoutees, registerRoutees, registerRoutees, registerRouteesFor, removeRoutees, resizer, routeeProps, routees, unregisterRoutees, unregisterRoutees
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteRouteeProvider

public RemoteRouteeProvider(scala.collection.Iterable<Address> nodes,
                            ActorContext _context,
                            Props _routeeProps,
                            scala.Option<Resizer> _resizer)
Method Detail

registerRouteesFor

public void registerRouteesFor(scala.collection.immutable.Iterable<java.lang.String> paths)
Description copied from class: RouteeProvider
Looks up routes with specified paths and registers them.

Overrides:
registerRouteesFor in class RouteeProvider

createRoutees

public void createRoutees(int nrOfInstances)
Description copied from class: RouteeProvider
Creates new routees from specified Props and registers them.

Overrides:
createRoutees in class RouteeProvider