Complete unfinished ConsistentHashingRouterDocSpec, see #944

This commit is contained in:
Patrik Nordwall 2012-09-14 14:28:47 +02:00
parent 48d8a09075
commit 50fc5a03a2
3 changed files with 24 additions and 11 deletions

View file

@ -306,7 +306,8 @@ Code example:
FIXME Java example of consistent routing
In the above example you see that the ``Get`` message implements ``ConsistentHashable`` itself,
while the ``Entry`` message is wrapped in a ``ConsistentHashableEnvelope``.
while the ``Entry`` message is wrapped in a ``ConsistentHashableEnvelope``. The ``Evict``
message is handled by the ``withConsistentHashMapping``.
This is an example of how to define a consistent-hashing router in configuration: