Package org.apache.polaris.ids.spi
Interface IdGeneratorSource
public interface IdGeneratorSource
Provides values for ID generators, usually provided by
NodeLease implementations.-
Method Summary
Modifier and TypeMethodDescriptionlongintnodeId()Returns the node ID if the node is active/valid or-1.
-
Method Details
-
nodeId
int nodeId()Returns the node ID if the node is active/valid or-1. -
currentTimeMillis
long currentTimeMillis()
-