public class TxnConstants extends Object implements TransactionConstants
Modifier and Type | Field and Description |
---|---|
private static String[] |
stateNames
Names of each of the states
|
ABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTING
Constructor and Description |
---|
TxnConstants() |
Modifier and Type | Method and Description |
---|---|
static String |
getName(int state)
Returns a
String which describes
the state of the Transaction . |
private static final String[] stateNames
public static String getName(int state)
String
which describes
the state of the Transaction
.TransactionConstants
Copyright 2007-2016, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.