123124125126127128129130131132133
} } }; ActorRef cache = system.actorOf( new ConsistentHashingPool(10).withHashMapper(hashMapper).props( Props.create(Cache.class)), "cache"); cache.tell(new ConsistentHashableEnvelope( new Entry("hello", "HELLO"), "hello"), getRef());