2 * Copyright (c) 2016 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.messages;
10 import static java.util.Objects.requireNonNull;
13 * A local message sent to the ShardManager to flip the raft voting states for members of a shard.
15 * @author Thomas Pantelis
17 public class FlipShardMembersVotingStatus {
18 private final String shardName;
20 public FlipShardMembersVotingStatus(final String shardName) {
21 this.shardName = requireNonNull(shardName);
24 public String getShardName() {
29 public String toString() {
30 return "FlipShardMembersVotingStatus [shardName=" + shardName + "]";