class ReplicaInfoManager implements ReplicaInfoService {

    @Override
    public ReplicaInfo getReplicaInfoFor(DeviceId deviceId) {
        return buildFromRoleInfo(mastershipService.getNodesFor(deviceId));
    }

}