Class UUIDHexGenerator

  • All Implemented Interfaces:

    public class UUIDHexGenerator
    extends AbstractUUIDGenerator
    Value generator for a UUID hexadecimal format. Results in Strings of length 32 characters, containing the IP address of the local machine as per the JDO2 spec section 18.6.1.
    • Constructor Detail

      • UUIDHexGenerator

        public UUIDHexGenerator​(StoreManager storeMgr,
                                String name)
        storeMgr - StoreManager
        name - Symbolic name for this generator
    • Method Detail

      • getStorageClass

        public static Class getStorageClass()
        Accessor for the storage class for values generated with this generator.
        Storage class (in this case String.class)
      • getIdentifier

        protected String getIdentifier()
        Create an identifier with the form "IIIIIIIIJJJJJJJJHHHHLLLLLLLLCCCC". Where IIIIIIII is the IP address, JJJJJJJJ is something unique across JVMs, HHHH is the High Time, LLLLLLLL is the low time, and CCCC is a count.
        Specified by:
        getIdentifier in class AbstractUUIDGenerator
        The identifier