final class YKGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_YK_PRECALC_DELAY |
static int |
DEFAULT_YK_PRECALC_MAX |
static int |
DEFAULT_YK_PRECALC_MIN |
static String |
PROP_YK_PRECALC_DELAY |
static String |
PROP_YK_PRECALC_MAX |
static String |
PROP_YK_PRECALC_MIN |
| Constructor and Description |
|---|
YKGenerator(I2PAppContext context)
Caller must also call start() to start the background precalc thread.
|
| Modifier and Type | Method and Description |
|---|---|
BigInteger[] |
getNextYK()
Gets the next YK value.
|
void |
shutdown()
Stop the background precalc thread.
|
void |
start()
Start the background precalc thread.
|
public static final int DEFAULT_YK_PRECALC_DELAY
public static final int DEFAULT_YK_PRECALC_MAX
public static final int DEFAULT_YK_PRECALC_MIN
public static final String PROP_YK_PRECALC_DELAY
public static final String PROP_YK_PRECALC_MAX
public static final String PROP_YK_PRECALC_MIN
public YKGenerator(I2PAppContext context)
public BigInteger[] getNextYK()
public void shutdown()
public void start()