2 * Copyright (c) 2015 Dell 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.raft.messages;
10 import com.google.common.base.Preconditions;
13 * Local message sent to self when catch-up of a new follower doesn't complete in a timely manner
16 public class FollowerCatchUpTimeout {
17 private final String newServerId;
19 public FollowerCatchUpTimeout(String serverId){
20 this.newServerId = Preconditions.checkNotNull(serverId, "serverId should not be null");
22 public String getNewServerId() {