2 * Copyright (c) 2017 Cisco 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
9 package org.opendaylight.controller.cluster.datastore.messages;
12 * Message sent to local shard to try to gain shard leadership. Sender of this
13 * message will be notified about result of leadership transfer with
14 * {@link akka.actor.Status.Success}, if leadership is successfully transferred
15 * to local shard. Otherwise {@link akka.actor.Status.Failure} with
16 * {@link org.opendaylight.controller.cluster.raft.LeadershipTransferFailedException}
17 * will be sent to sender of this message.
19 public final class MakeLeaderLocal {
21 public static final MakeLeaderLocal INSTANCE = new MakeLeaderLocal();
23 private MakeLeaderLocal() {