Class SVNUUIDGenerator
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.util.SVNUUIDGenerator
-
public class SVNUUIDGenerator extends java.lang.Object
- Version:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description private static int
NODE_LENGTH
private static long
ourFudgeFactor
private static long
ourLastGeneratedTime
private static byte[]
ourUUIDStateNode
private static long
ourUUIDStateSeqNum
-
Constructor Summary
Constructors Constructor Description SVNUUIDGenerator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
formatUUID(byte[] uuid)
static byte[]
generateUUID()
static java.lang.String
generateUUIDString()
private static long
getCurrentTime()
private static void
getRandomInfo(byte[] node)
private static void
initState()
-
-
-
Field Detail
-
NODE_LENGTH
private static final int NODE_LENGTH
- See Also:
- Constant Field Values
-
ourUUIDStateNode
private static byte[] ourUUIDStateNode
-
ourUUIDStateSeqNum
private static long ourUUIDStateSeqNum
-
ourLastGeneratedTime
private static long ourLastGeneratedTime
-
ourFudgeFactor
private static long ourFudgeFactor
-
-
Method Detail
-
getCurrentTime
private static long getCurrentTime()
-
generateUUIDString
public static java.lang.String generateUUIDString() throws SVNException
- Throws:
SVNException
-
generateUUID
public static byte[] generateUUID() throws SVNException
- Throws:
SVNException
-
formatUUID
public static java.lang.String formatUUID(byte[] uuid)
-
initState
private static void initState() throws SVNException
- Throws:
SVNException
-
getRandomInfo
private static void getRandomInfo(byte[] node) throws SVNException
- Throws:
SVNException
-
-