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