java.lang.Object
net.i2p.router.web.ConfigServiceHandler.UpdateWrapperOrRekeyTask
- All Implemented Interfaces:
Runnable
- Enclosing class:
ConfigServiceHandler
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final LogLogger for the restart task.private final booleanTrue to change the router identity as well.private final booleanTrue to tell the wrapper service as well.private static final intHash code identifying this task class.private static final intTime allowed for the restart to finish, longer on ARM.Constructor Summary
ConstructorsConstructorDescriptionUpdateWrapperOrRekeyTask(boolean rekey, boolean tellWrapper) Builds the restart task.Method Summary
All Methods
Field Details
_rekey
private final boolean _rekeyTrue to change the router identity as well._tellWrapper
private final boolean _tellWrapperTrue to tell the wrapper service as well._log
Logger for the restart task.HASHCODE
private static final int HASHCODEHash code identifying this task class.- See Also:
WAIT
private static final int WAITTime allowed for the restart to finish, longer on ARM.
Constructor Details
UpdateWrapperOrRekeyTask
public UpdateWrapperOrRekeyTask(boolean rekey, boolean tellWrapper) Builds the restart task.- Parameters:
rekey- true to change the router identity as welltellWrapper- true to tell the wrapper service as well
Method Details
run
hashCode
equals