2 * Copyright (c) 2016 2015 Brocade Communications Systems, Inc. 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.cluster.datastore.entityownership.messages;
10 import java.io.Serializable;
11 import org.opendaylight.controller.cluster.access.concepts.MemberName;
14 * Message sent by an EntityOwnershipShard to its leader on startup to remove all its candidates.
16 * @author Thomas Pantelis
18 public class RemoveAllCandidates implements Serializable {
19 private static final long serialVersionUID = 1L;
21 private final MemberName memberName;
23 public RemoveAllCandidates(MemberName memberName) {
24 this.memberName = memberName;
27 public MemberName getMemberName() {
32 public String toString() {
33 return "RemoveAllCandidates [memberName=" + memberName + "]";