Packages

c

akka.routing.ConsistentHashingRouter

ConsistentHashableEnvelope

final case class ConsistentHashableEnvelope(message: Any, hashKey: Any) extends ConsistentHashable with RouterEnvelope with Product with Serializable

If you don't define the hashMapping when constructing the akka.routing.ConsistentHashingRouter and messages can't implement akka.routing.ConsistentHashingRouter.ConsistentHashable themselves they can we wrapped by this envelope instead. The router will only send the wrapped message to the destination, i.e. the envelope will be stripped off.

Annotations
@SerialVersionUID()
Source
ConsistentHashing.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConsistentHashableEnvelope
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. RouterEnvelope
  7. ConsistentHashable
  8. AnyRef
  9. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConsistentHashableEnvelope(message: Any, hashKey: Any)

Value Members

  1. def consistentHashKey: Any
  2. val hashKey: Any
  3. val message: Any