2 * Copyright (c) 2016 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
8 package org.opendaylight.controller.cluster.access.commands;
10 import akka.actor.ActorRef;
11 import org.eclipse.jdt.annotation.NonNull;
12 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
15 * Request to abort a local transaction. Since local transactions do not introduce state on the backend until they
16 * are ready, the purpose of this message is to inform the backend that a message identifier has been used. This is
17 * not important for single transactions, but is critical to ensure transaction ordering within local histories.
19 public final class AbortLocalTransactionRequest extends AbstractLocalTransactionRequest<AbortLocalTransactionRequest> {
21 private static final long serialVersionUID = 1L;
23 public AbortLocalTransactionRequest(final @NonNull TransactionIdentifier identifier,
24 final @NonNull ActorRef replyTo) {
25 super(identifier, 0, replyTo);