Docs: Update broken link to flake ids in uuid generators
This commit is contained in:
parent
666cf4b872
commit
3706a16baf
|
@ -23,8 +23,9 @@ import java.util.Base64;
|
|||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
/**
|
||||
* These are essentially flake ids (http://boundary.com/blog/2012/01/12/flake-a-decentralized-k-ordered-unique-id-generator-in-erlang) but
|
||||
* we use 6 (not 8) bytes for timestamp, and use 3 (not 2) bytes for sequence number.
|
||||
* These are essentially flake ids, but we use 6 (not 8) bytes for timestamp, and use 3 (not 2) bytes for sequence number.
|
||||
* For more information about flake ids, check out
|
||||
* https://archive.fo/2015.07.08-082503/http://www.boundary.com/blog/2012/01/flake-a-decentralized-k-ordered-unique-id-generator-in-erlang/
|
||||
*/
|
||||
|
||||
class LegacyTimeBasedUUIDGenerator implements UUIDGenerator {
|
||||
|
|
|
@ -22,9 +22,13 @@ package org.elasticsearch.common;
|
|||
import java.util.Base64;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
/** These are essentially flake ids (http://boundary.com/blog/2012/01/12/flake-a-decentralized-k-ordered-unique-id-generator-in-erlang) but
|
||||
* we use 6 (not 8) bytes for timestamp, and use 3 (not 2) bytes for sequence number. We also reorder bytes in a way that does not make ids
|
||||
* sort in order anymore, but is more friendly to the way that the Lucene terms dictionary is structured. */
|
||||
/**
|
||||
* These are essentially flake ids but we use 6 (not 8) bytes for timestamp, and use 3 (not 2) bytes for sequence number. We also reorder
|
||||
* bytes in a way that does not make ids sort in order anymore, but is more friendly to the way that the Lucene terms dictionary is
|
||||
* structured.
|
||||
* For more information about flake ids, check out
|
||||
* https://archive.fo/2015.07.08-082503/http://www.boundary.com/blog/2012/01/flake-a-decentralized-k-ordered-unique-id-generator-in-erlang/
|
||||
*/
|
||||
|
||||
class TimeBasedUUIDGenerator implements UUIDGenerator {
|
||||
|
||||
|
|
Loading…
Reference in New Issue