2 * Copyright (c) 2016 Brocade Communications 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.persisted;
10 import java.io.Serializable;
13 * Internal message that is stored in the akka's persistent journal to delete journal entries.
15 * @author Thomas Pantelis
17 public final class DeleteEntries implements Serializable {
19 private static final long serialVersionUID = 1L;
21 private final long fromIndex;
23 public DeleteEntries(final long fromIndex) {
24 this.fromIndex = fromIndex;
27 public long getFromIndex() {
32 public String toString() {
33 return "DeleteEntries [fromIndex=" + fromIndex + "]";
37 private Object writeReplace() {