akka.contrib.throttle
Class Throttler.SetTarget
java.lang.Object
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 forward
s the message.)
- See Also:
- Serialized Form
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 |
Throttler.SetTarget
public Throttler.SetTarget(scala.Option<ActorRef> target)
target
public scala.Option<ActorRef> target()