import akka.actor.PoisonPill;
import akka.dispatch.OnComplete;
import com.google.common.collect.Maps;
import akka.actor.PoisonPill;
import akka.dispatch.OnComplete;
import com.google.common.collect.Maps;
private synchronized void onFindLocalShardComplete(final String shardName, final Throwable failure,
final ActorRef shard) {
if (state instanceof ResolveShards) {
private synchronized void onFindLocalShardComplete(final String shardName, final Throwable failure,
final ActorRef shard) {
if (state instanceof ResolveShards) {
private synchronized void onShardSubscribed(final String shardName, final Throwable failure, final Object result) {
if (state instanceof Subscribed) {
final Subscribed current = (Subscribed) state;
private synchronized void onShardSubscribed(final String shardName, final Throwable failure, final Object result) {
if (state instanceof Subscribed) {
final Subscribed current = (Subscribed) state;