Improve segmented journal actor metrics
[controller.git] / opendaylight / md-sal / cds-access-api / src / main / java / org / opendaylight / controller / cluster / access / commands / TransactionMerge.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.yangtools.yang.data.api.YangInstanceIdentifier;
11 import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
12
13 /**
14  * Merge a {@link NormalizedNode} tree onto a specific path.
15  */
16 public final class TransactionMerge extends TransactionDataModification {
17     public TransactionMerge(final YangInstanceIdentifier path, final NormalizedNode data) {
18         super(path, data);
19     }
20
21     @Override
22     byte getType() {
23         return TYPE_MERGE;
24     }
25 }