Package org.apache.hadoop.hbase.client
Interface NonceGenerator
- All Known Implementing Classes:
PerClientRandomNonceGenerator
NonceGenerator interface. In general, nonce group is an ID (one per client, or region+client, or
whatever) that could be used to reduce collision potential, or be used by compatible server nonce
manager to optimize nonce storage and removal. See HBASE-3787.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the nonce group (client ID) of this client manager.long
newNonce()
Returns New nonce.
-
Field Details
-
CLIENT_NONCES_ENABLED_KEY
- See Also:
-
-
Method Details
-
getNonceGroup
long getNonceGroup()Returns the nonce group (client ID) of this client manager. -
newNonce
long newNonce()Returns New nonce.
-