Add new cds-access-api proxies
[controller.git] / opendaylight / md-sal / cds-access-api / src / main / java / org / opendaylight / controller / cluster / access / commands / TransactionCommitSuccessProxyV1.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.controller.cluster.access.commands;
9
10 /**
11  * Externalizable proxy for use with {@link TransactionCommitSuccess}. It implements the initial (Boron)
12  * serialization format.
13  *
14  * @author Robert Varga
15  */
16 final class TransactionCommitSuccessProxyV1 extends AbstractTransactionSuccessProxy<TransactionCommitSuccess>
17         implements TransactionCommitSuccess.SerialForm {
18     @java.io.Serial
19     private static final long serialVersionUID = 1L;
20
21     // checkstyle flags the public modifier as redundant however it is explicitly needed for Java serialization to
22     // be able to create instances via reflection.
23     @SuppressWarnings("checkstyle:RedundantModifier")
24     public TransactionCommitSuccessProxyV1() {
25         // For Externalizable
26     }
27
28     TransactionCommitSuccessProxyV1(final TransactionCommitSuccess success) {
29         super(success);
30     }
31 }