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 {
13 // The followerId - this will be used to figure out which follower is
15 private final String followerId;
16 private final int chunkIndex;
17 private boolean success;
19 public InstallSnapshotReply(long term, String followerId, int chunkIndex,
22 this.followerId = followerId;
23 this.chunkIndex = chunkIndex;
24 this.success = success;
27 public String getFollowerId() {
31 public int getChunkIndex() {
35 public boolean isSuccess() {