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
8 package org.opendaylight.controller.cluster.datastore.messages;
10 import org.opendaylight.controller.cluster.datastore.DataStoreVersions;
12 @Deprecated(since = "9.0.0", forRemoval = true)
13 public final class CommitTransactionReply extends VersionedExternalizableMessage {
15 private static final long serialVersionUID = -8342450250867395000L;
17 public static final CommitTransactionReply INSTANCE = new CommitTransactionReply();
19 public CommitTransactionReply() {
22 private CommitTransactionReply(final short version) {
26 public static CommitTransactionReply instance(final short version) {
27 return version == DataStoreVersions.CURRENT_VERSION ? INSTANCE : new CommitTransactionReply(version);
30 public static boolean isSerializedType(final Object message) {
31 return message instanceof CommitTransactionReply;