Improve clock sequence range configuration
[lgpl/argeo-commons.git] / org.argeo.api.uuid / src / org / argeo / api / uuid / MacAddressUuidFactory.java
index 9f27fad842bde97e615a2acef99425ee9ec4856b..fa68df1dbe2777328a87b008e932039b23e56a5b 100644 (file)
@@ -16,7 +16,11 @@ public class MacAddressUuidFactory extends ConcurrentUuidFactory {
        public final static UuidFactory DEFAULT = new MacAddressUuidFactory();
 
        public MacAddressUuidFactory() {
-               super(localHardwareAddressAsNodeId());
+               this(0);
+       }
+
+       public MacAddressUuidFactory(long initialClockRange) {
+               super(initialClockRange, localHardwareAddressAsNodeId());
        }
 
        public static byte[] localHardwareAddressAsNodeId() {