Improve segmented journal actor metrics
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / messages / CloseTransaction.java
1 /*
2  * Copyright (c) 2014 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.datastore.messages;
9
10 @Deprecated(since = "9.0.0", forRemoval = true)
11 public final class CloseTransaction extends VersionedExternalizableMessage {
12     @java.io.Serial
13     private static final long serialVersionUID = 1L;
14
15     public CloseTransaction() {
16     }
17
18     public CloseTransaction(final short version) {
19         super(version);
20     }
21
22     public static boolean isSerializedType(final Object message) {
23         return message instanceof CloseTransaction;
24     }
25 }