public class FreenetFilePersistentConfig extends FilePersistentConfig
Config.RequestType
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DEFAULT_HEADER |
java.lang.Runnable |
thread |
header, storeSync, writeOnFinished
finishedInit, origConfigFileContents
configsByPrefix
Constructor and Description |
---|
FreenetFilePersistentConfig(SimpleFieldSet set,
java.io.File filename,
java.io.File tempFilename) |
Modifier and Type | Method and Description |
---|---|
static FreenetFilePersistentConfig |
constructFreenetFilePersistentConfig(java.io.File f) |
void |
finishedInit(Ticker ticker) |
void |
setHasNodeStarted() |
void |
store()
Write current config to disk
|
constructFilePersistentConfig, constructFilePersistentConfig, finishedInit, innerStore, register
exportFieldSet, exportFieldSet, exportFieldSet, getSimpleFieldSet, onRegister
createSubConfig, get, getConfigs
protected static final java.lang.String DEFAULT_HEADER
public final java.lang.Runnable thread
public FreenetFilePersistentConfig(SimpleFieldSet set, java.io.File filename, java.io.File tempFilename) throws java.io.IOException
java.io.IOException
public static FreenetFilePersistentConfig constructFreenetFilePersistentConfig(java.io.File f) throws java.io.IOException
java.io.IOException
public void store()
Config
store
in class FilePersistentConfig
public void finishedInit(Ticker ticker)
public void setHasNodeStarted()