2 * Copyright (c) 2021 PANTHEON.tech, s.r.o. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.eos.akka.owner.supervisor.command;
10 import com.google.common.collect.ImmutableSet;
11 import java.io.Serializable;
13 import org.eclipse.jdt.annotation.Nullable;
15 public final class GetEntityBackendReply extends OwnerSupervisorReply implements Serializable {
16 private static final long serialVersionUID = 1L;
18 private final ImmutableSet<String> candidates;
19 private final String owner;
21 public GetEntityBackendReply(final @Nullable String owner, final @Nullable Set<String> candidates) {
23 this.candidates = candidates == null ? ImmutableSet.of() : ImmutableSet.copyOf(candidates);
26 public ImmutableSet<String> getCandidates() {
30 public String getOwner() {