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.messages;
11 public class InstallSnapshotReply extends AbstractRaftRPC {
12 private static final long serialVersionUID = 1L;
14 // The followerId - this will be used to figure out which follower is
16 private final String followerId;
17 private final int chunkIndex;
18 private boolean success;
20 public InstallSnapshotReply(long term, String followerId, int chunkIndex,
23 this.followerId = followerId;
24 this.chunkIndex = chunkIndex;
25 this.success = success;
28 public String getFollowerId() {
32 public int getChunkIndex() {
36 public boolean isSuccess() {