Clone
Michael D. Blow <michael.blow@couchbase.com>
committed
on 08 Feb 16
ASTERIXDB-1271: Revisit UUID Implementation
- Updated UUID implementation to eliminate marshalling to/from a pair
of longs, replacing with… Show more
ASTERIXDB-1271: Revisit UUID Implementation

- Updated UUID implementation to eliminate marshalling to/from a pair

 of longs, replacing with byte [].

- Eliminate all but one call to SecureRandom at init time, avoid risk

 of entropy exhaustion

- Fix exceptions thrown

- Incorporate constant to represent number of bytes, String chars in

 an instance of AUUID

- Split generated from parsed AUUID

- Eliminate intermediate StringBuilder construction on priting paths,

 optimize imports

Change-Id: I9e90d42f6b62f80ad180dbd0c8c852db85b14173

Reviewed-on: https://asterix-gerrit.ics.uci.edu/610

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

Reviewed-by: Till Westmann <tillw@apache.org>

Show less

master + 7 more