BUG-5280: implement transaction dispatch
[controller.git] / opendaylight / md-sal / cds-access-api / src / main / java / org / opendaylight / controller / cluster / access / commands / PurgeLocalHistoryRequestProxyV1.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 akka.actor.ActorRef;
11 import org.opendaylight.controller.cluster.access.concepts.LocalHistoryIdentifier;
12
13 /**
14  * Externalizable proxy for use with {@link PurgeLocalHistoryRequest}. It implements the initial (Boron) serialization
15  * format.
16  *
17  * @author Robert Varga
18  */
19 final class PurgeLocalHistoryRequestProxyV1 extends AbstractLocalHistoryRequestProxy<PurgeLocalHistoryRequest> {
20     private static final long serialVersionUID = 1L;
21
22     public PurgeLocalHistoryRequestProxyV1() {
23         // For Externalizable
24     }
25
26     PurgeLocalHistoryRequestProxyV1(final PurgeLocalHistoryRequest request) {
27         super(request);
28     }
29
30     @Override
31     protected PurgeLocalHistoryRequest createRequest(final LocalHistoryIdentifier target, final ActorRef replyTo) {
32         return new PurgeLocalHistoryRequest(target, replyTo);
33     }
34 }