2 * Copyright (c) 2014 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.raft.client.messages;
11 import com.google.common.annotations.VisibleForTesting;
12 import java.io.Serializable;
15 * Request to locate the leader raft actor. Each {@link org.opendaylight.controller.cluster.raft.RaftActor} must
16 * respond with a {@link FindLeaderReply} containing the address of the leader, as it is known to that particular
19 * This message is intended for testing purposes only.
22 public final class FindLeader implements Serializable {
23 private static final long serialVersionUID = 1L;
24 public static final FindLeader INSTANCE = new FindLeader();
26 private FindLeader() {
27 // Hidden to force reuse
30 private Object readResolve() {