Commit Graph

154 Commits

Author SHA1 Message Date
Fabio Lima a5006743ed [maven-release-plugin] prepare for next development iteration 2023-04-30 05:26:15 -03:00
Fabio Lima ea7a4346cd [maven-release-plugin] prepare release ulid-creator-5.2.0 2023-04-30 05:26:15 -03:00
Fabio Lima d7a8333053 regular maintenance 2023-04-30 05:24:00 -03:00
Fabio Lima 6641297be8 regular maintenance 2023-04-30 03:49:39 -03:00
Fabio Lima af3a7ee0a1 regular maintenance 2023-04-30 03:33:23 -03:00
Fabio Lima 1a7f97438a regular maintenance 2023-04-30 02:34:28 -03:00
Fabio Lima 36855d4b99 regular maintenance 2023-04-26 03:36:14 -03:00
Fabio Lima fc31807789 regular maintenance 2023-04-26 03:13:34 -03:00
Fabio Lima 644ba86e2c Add Hash ULID generator methods. #25 2023-04-25 23:39:22 -03:00
Fabio Lima 41c15148d3 Add a MIN and MAX constants and methods #26 2023-04-25 23:30:07 -03:00
Fabio Lima dc0082bad6 [maven-release-plugin] prepare for next development iteration 2022-10-22 16:32:05 -03:00
Fabio Lima 44bb5496b2 [maven-release-plugin] prepare release ulid-creator-5.1.0 2022-10-22 15:05:16 -03:00
Fabio Lima ebc145f52a Add a fast method to generate identifiers #22 2022-10-22 15:02:37 -03:00
Fabio Lima b5a7d8db95 [maven-release-plugin] prepare for next development iteration 2022-09-17 09:57:23 -03:00
Fabio Lima 02c47fdc10 [maven-release-plugin] prepare release ulid-creator-5.0.2 2022-09-17 09:57:23 -03:00
Fabio Lima fbe1338ce9 Rewrite docs #21 2022-09-17 09:56:07 -03:00
Fabio Lima aad72e2f11 Optimize comparison and hash #20 2022-08-21 07:43:11 -03:00
Fabio Lima a415007838 [maven-release-plugin] prepare for next development iteration 2022-08-21 07:36:59 -03:00
Fabio Lima d0624448a0 [maven-release-plugin] prepare release ulid-creator-5.0.1 2022-08-21 07:36:59 -03:00
Fabio Lima 3f56210b53 Optimize comparison and hash #20 2022-08-21 07:24:10 -03:00
Fabio Lima 58bc4398c0 [maven-release-plugin] prepare for next development iteration 2022-07-09 14:46:23 -03:00
Fabio Lima 3e6629abb2 [maven-release-plugin] prepare release ulid-creator-5.0.0 2022-07-09 14:46:23 -03:00
Fabio Lima f80eb4029c Add support for RandomGenerator in Java 17 #19 2022-07-09 14:43:36 -03:00
Fabio Lima 3b6a135fd3 [maven-release-plugin] prepare for next development iteration 2022-04-21 21:36:02 -03:00
Fabio Lima 0a8959bd5d [maven-release-plugin] prepare release ulid-creator-4.2.1 2022-04-21 21:36:02 -03:00
Fabio Lima 28ece966b4 handle clock drift #18 2022-04-21 21:34:33 -03:00
Fabio Lima c7738222f9 [maven-release-plugin] prepare for next development iteration 2022-04-21 14:54:19 -03:00
Fabio Lima 6f3dc7029b [maven-release-plugin] prepare release ulid-creator-4.2.0 2022-04-21 14:54:19 -03:00
Fabio Lima 745bd55ffc feat: handle clock drift #18
Added drift tolerance of 10 seconds to preserve monotonicity when the
system clock is adjusted by NTP after a small clock drift or when the
system clock jumps back by 1 second due to leap second.

The random component is incremented when the current time:
- is the same as the previous time;
- has moved backwards up to 10 seconds.

The time component is also incremented if the random component is
exceeded, which is quite rare.
2022-04-21 14:53:06 -03:00
Fabio Lima 5abd3f46ff test: handle clock drift #18
move factory tests to the root package.
2022-04-21 14:33:11 -03:00
Fabio Lima 236044af02
Update README.md 2022-03-01 11:16:09 -03:00
Fabio Lima 8a5fc3d093 regular maintenance 2021-12-11 14:04:34 -03:00
Fabio Lima 44bab60674
Update README.md 2021-11-28 23:34:53 -03:00
Fabio Lima bf3b93167b
Update README.md 2021-11-28 23:28:06 -03:00
Fabio Lima 5d46bbf2fc
Update README.md 2021-11-28 23:09:48 -03:00
Fabio Lima e30d0bc974
Update README.md 2021-11-27 02:48:08 -03:00
Fabio Lima e03b50f303
Update README.md 2021-11-27 02:45:30 -03:00
Fabio Lima e23370f5fd
Update README.md 2021-11-27 02:44:09 -03:00
Fabio Lima 4b24b03f8f
Update README.md 2021-11-15 08:19:25 -03:00
Fabio Lima 1cc8ed180e
Update README.md 2021-11-15 07:56:11 -03:00
Fabio Lima f384d26c93 [maven-release-plugin] prepare for next development iteration 2021-11-06 10:10:42 -03:00
Fabio Lima da40af36b5 [maven-release-plugin] prepare release ulid-creator-4.1.2 2021-11-06 10:10:42 -03:00
Fabio Lima ced08d1a55 Compare internal fields as unsigned integers #17 2021-11-06 10:06:14 -03:00
Fabio Lima 200c0e1dbb [maven-release-plugin] prepare for next development iteration 2021-10-03 23:12:05 -03:00
Fabio Lima aeaf58e4d3 [maven-release-plugin] prepare release ulid-creator-4.1.1 2021-10-03 23:12:05 -03:00
Fabio Lima 7b4abe0f9c Merge branch 'master' of https://github.com/f4b6a3/ulid-creator 2021-10-03 23:11:26 -03:00
Fabio Lima e83a2fcf82 regular maintenance
Improve code quality after Codacy.com analysis.

Site: https://app.codacy.com
2021-10-02 09:31:19 -03:00
Fabio Lima 559a4a5259
Create file 'benchmark/run.bat' 2021-09-18 03:00:50 -03:00
Fabio Lima f13a0c23ed
Update README.md 2021-09-18 02:59:58 -03:00
Fabio Lima 11dd761d76 [maven-release-plugin] prepare for next development iteration 2021-09-04 02:01:46 -03:00