Java doc sample for consistent hashing router, see #944
* Allow return null as undefined ConsistentHashMapping
This commit is contained in:
parent
d59612609f
commit
48a0fda991
6 changed files with 159 additions and 11 deletions
|
|
@ -11,7 +11,6 @@ object ConsistentHashingRouterDocSpec {
|
|||
//#cache-actor
|
||||
import akka.actor.Actor
|
||||
import akka.routing.ConsistentHashingRouter.ConsistentHashable
|
||||
import akka.routing.ConsistentHashingRouter.ConsistentHashableEnvelope
|
||||
|
||||
class Cache extends Actor {
|
||||
var cache = Map.empty[String, String]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue