Deprecate TransactionStatus
[controller.git] / opendaylight / md-sal / sal-common-api / src / main / java / org / opendaylight / controller / md / sal / common / api / TransactionStatus.java
1 /*
2  * Copyright (c) 2013 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.md.sal.common.api;
9
10 @Deprecated
11 public enum TransactionStatus {
12     /**
13      * The transaction has been freshly allocated. The user is still accessing
14      * it and it has not been sealed.
15      */
16     NEW,
17     /**
18      * The transaction has been completed by the user and sealed. It is currently
19      * awaiting execution.
20      */
21     SUBMITED,
22     /**
23      * The transaction has been successfully committed to backing store.
24      */
25     COMMITED,
26     /**
27      * The transaction has failed to commit due to some underlying issue.
28      */
29     FAILED,
30     /**
31      * Currently unused.
32      */
33     CANCELED,
34 }