Class UuidSettings


  • public final class UuidSettings
    extends Object
    Reads system properties and environment variables. The system properties has prevalence over environment variables. Available properties and variables: - uuidcreator.node - UUIDCREATOR_NODE
    • Constructor Detail

      • UuidSettings

        protected UuidSettings()
    • Method Detail

      • getNodeIdentifier

        public static Long getNodeIdentifier()
      • setNodeIdentifier

        public static void setNodeIdentifier​(Long nodeid)
      • getNodeIdentifierDeprecated

        @Deprecated
        public static Long getNodeIdentifierDeprecated()
        Deprecated.
      • setNodeIdentifierDeprecated

        @Deprecated
        public static void setNodeIdentifierDeprecated​(Long nodeid)
        Deprecated.
      • getProperty

        protected static String getProperty​(String name)
      • setProperty

        protected static void setProperty​(String key,
                                          String value)
      • clearProperty

        protected static void clearProperty​(String key)
      • getPropertyName

        protected static String getPropertyName​(String key)
      • getEnvinronmentName

        protected static String getEnvinronmentName​(String key)