akka.contrib.throttle
Class Throttler.SetTarget

java.lang.Object
  extended by akka.contrib.throttle.Throttler.SetTarget
All Implemented Interfaces:
java.io.Serializable, scala.Equals, scala.Product
Enclosing interface:
Throttler

public static class Throttler.SetTarget
extends java.lang.Object
implements scala.Product, scala.Serializable

Set the target of a Throttler.

You may change a throttler's target at any time.

Notice that the messages sent by the throttler to the target will have the original sender (and not the throttler) as the sender. (In Akka terms, the throttler forwards the message.)

See Also:
Serialized Form

Constructor Summary
Throttler.SetTarget(scala.Option<ActorRef> target)
           
 
Method Summary
 scala.Option<ActorRef> target()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

Throttler.SetTarget

public Throttler.SetTarget(scala.Option<ActorRef> target)
Method Detail

target

public scala.Option<ActorRef> target()