org.hibernate.id.uuid
Class Helper
java.lang.Object
org.hibernate.id.uuid.Helper
public class Helper
- extends Object
TODO : javadoc
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Helper
public Helper()
getAddressBytes
public static byte[] getAddressBytes()
getAddressInt
public static int getAddressInt()
getAddressHexString
public static String getAddressHexString()
getJvmIdentifierBytes
public static byte[] getJvmIdentifierBytes()
getJvmIdentifierInt
public static int getJvmIdentifierInt()
getJvmIdentifierHexString
public static String getJvmIdentifierHexString()
getCountShort
public static short getCountShort()
- Unique in a millisecond for this JVM instance (unless there are > Short.MAX_VALUE instances created in a
millisecond)
getCountBytes
public static byte[] getCountBytes()
format
public static String format(int value)
format
public static String format(short value)
main
public static void main(String[] args)
throws UnknownHostException
- Throws:
UnknownHostException
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.