From 4e7b15af9008111a40c452cfeaf5cf734609ee24 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Sat, 15 Feb 2014 07:05:11 +0100 Subject: [PATCH] Add a bit of documentation Change-Id: I57883cffb62f4f22de74d567f9d040a90e21a5d0 Signed-off-by: Robert Varga --- .../md/sal/common/api/TransactionStatus.java | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/TransactionStatus.java b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/TransactionStatus.java index 92ff55175c..a8989c4ce8 100644 --- a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/TransactionStatus.java +++ b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/TransactionStatus.java @@ -8,9 +8,26 @@ package org.opendaylight.controller.md.sal.common.api; public enum TransactionStatus { + /** + * The transaction has been freshly allocated. The user is still accessing + * it and it has not been sealed. + */ NEW, + /** + * The transaction has been completed by the user and sealed. It is currently + * awaiting execution. + */ SUBMITED, + /** + * The transaction has been successfully committed to backing store. + */ COMMITED, + /** + * The transaction has failed to commit due to some underlying issue. + */ FAILED, - CANCELED + /** + * Currently unused. + */ + CANCELED, } -- 2.36.6