Class Helper

java.lang.Object
org.hibernate.id.uuid.Helper

public final class Helper extends Object
  • Method Details

    • 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 more than 32767 instances created in a millisecond)
    • getCountBytes

      public static byte[] getCountBytes()
    • format

      public static String format(int value)
    • format

      public static String format(short value)