initDatastoresWithCars("testReadyLocalTransactionForwardedToLeader");
followerTestKit.waitUntilLeader(followerDistributedDataStore.getActorUtils(), "cars");
- final com.google.common.base.Optional<ActorRef> carsFollowerShard =
+ final Optional<ActorRef> carsFollowerShard =
followerDistributedDataStore.getActorUtils().findLocalShard("cars");
assertTrue("Cars follower shard found", carsFollowerShard.isPresent());
initDatastoresWithCars("testForwardedReadyTransactionForwardedToLeader");
followerTestKit.waitUntilLeader(followerDistributedDataStore.getActorUtils(), "cars");
- final com.google.common.base.Optional<ActorRef> carsFollowerShard =
+ final Optional<ActorRef> carsFollowerShard =
followerDistributedDataStore.getActorUtils().findLocalShard("cars");
assertTrue("Cars follower shard found", carsFollowerShard.isPresent());