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