Fabio Lima
1826fd960e
Updated UlidBasedGuidCreator
2020-04-08 19:02:25 -03:00
Fabio Lima
ffffe2af51
Updated UlidBasedGuidCreator
2020-03-16 00:34:56 -03:00
Fabio Lima
eb65ed35b1
Updated pom.xml to use commons
...
Removed files that are also included in f4b6a3/commons.
2020-03-15 05:17:00 -03:00
Fabio Lima
5415552032
Refactored GuidCreator.java
2020-03-12 03:13:58 -03:00
Fabio Lima
4590f46220
[maven-release-plugin] prepare for next development iteration
2020-02-25 15:43:17 -03:00
Fabio Lima
15ae6320dc
[maven-release-plugin] prepare release ulid-creator-1.0.2
2020-02-25 15:43:17 -03:00
Fabio Lima
c01a914319
Small optimizations
...
Optimized methods:
- UlidUtil.fromUuidToUlid()
- UlidUtil.fromUlidToUuid()
Added tests cases:
- UlidUtilTest.testFromUuidToBytes()
- UlidUtilTest.testFromBytesToUuid()
- UlidUtilTest.testToAndFromBytes()
Created classes:
- Benchmarks.java (need to uncomment)
2020-02-25 15:40:35 -03:00
Fabio Lima
1fc0952067
Updated README.md
2020-02-24 04:53:01 -03:00
Fabio Lima
da8061af21
Fixed a test case
...
Fixed test case: testShouldThrowOverflowException()
2020-02-24 02:30:07 -03:00
Fabio Lima
7a0fd0db7a
[maven-release-plugin] prepare for next development iteration
2020-02-24 00:06:19 -03:00
Fabio Lima
c98a9a2424
[maven-release-plugin] prepare release ulid-creator-1.0.1
2020-02-24 00:06:19 -03:00
Fabio Lima
111592751a
Remove method from GuidCreator
...
The method withoutOverrunException() is not necessary anymore.
2020-02-24 00:03:38 -03:00
Fabio Lima
7ec2a7cc98
Throw exception when 2^80 requests are made
...
In the previous implementation an exception was thrown when the random
part reached 2^80. It meant that if the first random generated within a
millisecond was (2^80 - 1000), the generator could thrown the exception
when only 1000 requests was made. It was very difficult, but possible.
Now it only occurs in the extremely unlikely event that you manage to
generate more than 2^80 ULIDs within the same millisecond.
2020-02-23 23:55:34 -03:00
Fabio Lima
80f5b6ef3e
[maven-release-plugin] prepare for next development iteration
2020-02-23 14:25:39 -03:00
Fabio Lima
a9bc396554
[maven-release-plugin] prepare release 1.0.0
2020-02-23 14:25:39 -03:00
Fabio Lima
a66c83e103
[maven-release-plugin] prepare for next development iteration
2020-02-23 14:12:35 -03:00
Fabio Lima
5583d1467a
[maven-release-plugin] prepare release ulid-creator-1.0.0
2020-02-23 14:12:35 -03:00
Fabio Lima
0051e785b7
Small changes
2020-02-23 14:11:55 -03:00
Fabio Lima
f1f2cdb6c3
[maven-release-plugin] prepare for next development iteration
2020-02-23 14:09:25 -03:00
Fabio Lima
91a6574867
[maven-release-plugin] prepare release ulid-creator-1.0.0
2020-02-23 14:09:25 -03:00
Fabio Lima
174c76c0a8
Updated README.md
2020-02-23 14:08:30 -03:00
Fabio Lima
623b8d9307
[maven-release-plugin] prepare for next development iteration
2020-02-23 14:05:54 -03:00
Fabio Lima
65e107a391
[maven-release-plugin] prepare release ulid-creator-1.0.0
2020-02-23 14:05:54 -03:00
Fabio Lima
b5bd70d288
Updated pom.xml
2020-02-23 14:05:01 -03:00
Fabio Lima
a89bab3863
Added XorshiftRandom
2020-02-23 14:03:58 -03:00
Fabio Lima
f428f41cca
[maven-release-plugin] prepare for next development iteration
2020-02-23 13:52:52 -03:00
Fabio Lima
45ba418484
[maven-release-plugin] prepare release ulid-creator-1.0.0
2020-02-23 13:52:52 -03:00
Fabio Lima
1fbc0d2da0
Updated pom.xml
2020-02-23 13:51:20 -03:00
Fabio Lima
e4a6d899f3
Changed UlidCreator
2020-02-22 13:26:15 -03:00
Fabio Lima
8f7aa36960
Updated README.md
2020-02-22 13:22:13 -03:00
Fabio Lima
f885a03125
Rearranging the code
2020-02-22 13:07:16 -03:00
Fabio Lima
63bee56534
Copied more code from uuid-creator
2020-02-17 01:49:00 -03:00
Fabio Lima
3fbe5c5c1b
Copied some code from uuid-creator
2020-02-17 01:34:29 -03:00
Fábio Lima
0ff9125533
Initial commit
2020-02-17 00:29:48 -03:00