public class CombNodeIdentifierStrategy extends Object implements NodeIdentifierStrategy
| Constructor and Description |
|---|
CombNodeIdentifierStrategy() |
| Modifier and Type | Method and Description |
|---|---|
long |
getNodeIdentifier()
Returns the count of milliseconds since 01-01-1970.
|
public long getNodeIdentifier()
s = 1000; m = 60 * s; h = 60 * m; d = 24 * h; y = 365.25 * d; 2^48 / y = ~8919 8919 + 1970 = 10889
getNodeIdentifier in interface NodeIdentifierStrategyCopyright © 2019. All rights reserved.