@InterfaceAudience.Private public final class PerClientRandomNonceGenerator extends Object implements NonceGenerator
Modifier and Type | Field and Description |
---|---|
private long |
clientId |
private static PerClientRandomNonceGenerator |
INST |
private Random |
rdm |
CLIENT_NONCES_ENABLED_KEY
Modifier | Constructor and Description |
---|---|
private |
PerClientRandomNonceGenerator() |
Modifier and Type | Method and Description |
---|---|
static PerClientRandomNonceGenerator |
get()
Get the singleton nonce generator.
|
long |
getNonceGroup() |
long |
newNonce() |
private static final PerClientRandomNonceGenerator INST
private final long clientId
private PerClientRandomNonceGenerator()
public long getNonceGroup()
getNonceGroup
in interface NonceGenerator
public long newNonce()
newNonce
in interface NonceGenerator
public static PerClientRandomNonceGenerator get()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.