6f05617613ee7d5719f1dc595731449f4a0e2f1b
[controller.git] / opendaylight / md-sal / cds-access-api / src / main / java / org / opendaylight / controller / cluster / access / commands / LocalHistorySuccessProxyV1.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 import org.opendaylight.controller.cluster.access.concepts.AbstractSuccessProxy;
11 import org.opendaylight.controller.cluster.access.concepts.LocalHistoryIdentifier;
12
13 /**
14  * Serialization proxy associated with {@link LocalHistorySuccess}.
15  *
16  * @author Robert Varga
17  */
18 final class LocalHistorySuccessProxyV1 extends AbstractSuccessProxy<LocalHistoryIdentifier, LocalHistorySuccess>
19         implements LocalHistorySuccess.SerialForm {
20     @java.io.Serial
21     private static final long serialVersionUID = 1L;
22
23     // checkstyle flags the public modifier as redundant however it is explicitly needed for Java serialization to
24     // be able to create instances via reflection.
25     @SuppressWarnings("checkstyle:RedundantModifier")
26     public LocalHistorySuccessProxyV1() {
27         // For Externalizable
28     }
29
30     LocalHistorySuccessProxyV1(final LocalHistorySuccess success) {
31         super(success);
32     }
33 }