Package org.apache.accumulo.core.fate
Class FateTxId
- java.lang.Object
-
- org.apache.accumulo.core.fate.FateTxId
-
public class FateTxId extends Object
-
-
Constructor Summary
Constructors Constructor Description FateTxId()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
formatTid(long tid)
Formats transaction ids in a consistent way that is useful for logging and persisting.static long
fromString(String fmtTid)
ReversesformatTid(long)
static boolean
isFormatedTid(String fmtTid)
static long
parseTidFromUserInput(String s)
-
-
-
Method Detail
-
isFormatedTid
public static boolean isFormatedTid(String fmtTid)
- Returns:
- true if string was created by
formatTid(long)
and false otherwise.
-
fromString
public static long fromString(String fmtTid)
ReversesformatTid(long)
-
formatTid
public static String formatTid(long tid)
Formats transaction ids in a consistent way that is useful for logging and persisting.
-
parseTidFromUserInput
public static long parseTidFromUserInput(String s)
-
-