X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-akka-raft%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fraft%2Fbase%2Fmessages%2FApplyLogEntries.java;fp=opendaylight%2Fmd-sal%2Fsal-akka-raft%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fraft%2Fbase%2Fmessages%2FApplyLogEntries.java;h=0000000000000000000000000000000000000000;hb=5c1631bf9bc2327703767767683c36c23460bff2;hp=744d0098419576696d289768e10d813ad09c4176;hpb=8e6e0aeb5ca474cb292aab6ca581e921b0a56489;p=controller.git diff --git a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/base/messages/ApplyLogEntries.java b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/base/messages/ApplyLogEntries.java deleted file mode 100644 index 744d009841..0000000000 --- a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/base/messages/ApplyLogEntries.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.controller.cluster.raft.base.messages; - -import java.io.Serializable; - -/** - * ApplyLogEntries serves as a message which is stored in the akka's persistent - * journal. - * During recovery if this message is found, then all in-mem journal entries from - * context.lastApplied to ApplyLogEntries.toIndex are applied to the state - * - * This class is also used as a internal message sent from Behaviour to - * RaftActor to persist the ApplyLogEntries - * - * @deprecated Deprecated in favor of ApplyJournalEntries whose type for toIndex is long instead of int. - * This class was kept for backwards compatibility with Helium. - */ -@Deprecated -public class ApplyLogEntries implements Serializable { - private final int toIndex; - - public ApplyLogEntries(int toIndex) { - this.toIndex = toIndex; - } - - public int getToIndex() { - return toIndex; - } -}