@InterfaceAudience.Private public class ScannerIdGenerator extends Object
Modifier and Type | Field and Description |
---|---|
private AtomicInteger |
scannerIdGen |
private long |
serverNameHash |
Constructor and Description |
---|
ScannerIdGenerator(ServerName serverName) |
Modifier and Type | Method and Description |
---|---|
long |
generateNewScannerId() |
static void |
main(String[] args) |
private final long serverNameHash
private final AtomicInteger scannerIdGen
public ScannerIdGenerator(ServerName serverName)
public long generateNewScannerId()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.