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.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
12 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
15 * Externalizable proxy for use with {@link ExistsTransactionRequest}. It implements the initial (Boron) serialization
18 * @author Robert Varga
20 final class ExistsTransactionRequestProxyV1 extends
21 AbstractReadPathTransactionRequestProxyV1<ExistsTransactionRequest> {
22 private static final long serialVersionUID = 1L;
24 // checkstyle flags the public modifier as redundant however it is explicitly needed for Java serialization to
25 // be able to create instances via reflection.
26 @SuppressWarnings("checkstyle:RedundantModifier")
27 public ExistsTransactionRequestProxyV1() {
31 ExistsTransactionRequestProxyV1(final ExistsTransactionRequest request) {
36 ExistsTransactionRequest createReadPathRequest(final TransactionIdentifier target, final long sequence,
37 final ActorRef replyTo, final YangInstanceIdentifier path, final boolean snapshotOnly) {
38 return new ExistsTransactionRequest(target, sequence, replyTo, path, snapshotOnly);