Add new cds-access-api proxies
[controller.git] / opendaylight / md-sal / cds-access-api / src / main / java / org / opendaylight / controller / cluster / access / commands / SkipTransactionsRequestV1.java
1 /*
2  * Copyright (c) 2021 PANTHEON.tech, s.r.o. 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 SkipTransactionsRequest}. It implements the initial
12  * (Phosphorus SR1) serialization format.
13  */
14 final class SkipTransactionsRequestV1 extends AbstractTransactionRequestProxy<SkipTransactionsRequest>
15         implements SkipTransactionsRequest.SerialForm {
16     @java.io.Serial
17     private static final long serialVersionUID = -7493419007644462643L;
18
19     // checkstyle flags the public modifier as redundant however it is explicitly needed for Java serialization to
20     // be able to create instances via reflection.
21     @SuppressWarnings("checkstyle:RedundantModifier")
22     public SkipTransactionsRequestV1() {
23         // For Externalizable
24     }
25
26     SkipTransactionsRequestV1(final SkipTransactionsRequest request) {
27         super(request);
28     }
29 }