Class ScannerIdGenerator

java.lang.Object
org.apache.hadoop.hbase.regionserver.ScannerIdGenerator

@Private public class ScannerIdGenerator extends Object
Generate a new style scanner id to prevent collision with previous started server or other RSs. We have 64 bits to use. The first 32 bits are MurmurHash32 of ServerName string "host,port,ts". The ServerName contains both host, port, and start timestamp so it can prevent collision. The lowest 32bit is generated by atomic int.