a8989c4ce865616d7515158407d228d922a50196
[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 public enum TransactionStatus {
11     /**
12      * The transaction has been freshly allocated. The user is still accessing
13      * it and it has not been sealed.
14      */
15     NEW,
16     /**
17      * The transaction has been completed by the user and sealed. It is currently
18      * awaiting execution.
19      */
20     SUBMITED,
21     /**
22      * The transaction has been successfully committed to backing store.
23      */
24     COMMITED,
25     /**
26      * The transaction has failed to commit due to some underlying issue.
27      */
28     FAILED,
29     /**
30      * Currently unused.
31      */
32     CANCELED,
33 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.