Cleaned up UIDGenerator docs a bit.

Change-Id: I32ca575ca4d7b446b4a27b91d1e8aaa7173c575b
This commit is contained in:
Aaron Schulz 2012-12-04 11:15:25 -08:00 committed by Gerrit Code Review
parent 036d03bab9
commit 7ac3eddf19

View file

@ -218,9 +218,7 @@ class UIDGenerator {
* Get a statistically unique 128-bit unsigned integer ID string.
* The bits of the UID are prefixed with the time (down to the microsecond).
*
* Unlike timestampedUID64(), these IDs are suitable as UUIDs, without any enforced
* uniqueness checks in the storage medium, such as a DB. Thus, this can be used to
* make unique values of DB table column where the DBMS does not enforce uniqueness.
* These IDs are suitable as globally unique IDs, without any enforced uniqueness.
* New rows almost always have higher UIDs, which makes B-TREE updates on INSERT fast.
* They can also be stored reasonably as a "DECIMAL(39) UNSIGNED" in MySQL.
*