Package net.i2p.router.dummy
Class DummyNetworkDatabaseSegmentor
java.lang.Object
net.i2p.router.networkdb.kademlia.SegmentedNetworkDatabaseFacade
net.i2p.router.dummy.DummyNetworkDatabaseSegmentor
- Since:
- 0.9.61
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclientNetDB(Hash id) Get a client netDb for a given client Hash identifier.Get the main netDb, the one which is used if we're a floodfillvoidshutdown()Shut down the network databasesvoidstartup()Start up the network databases
-
Constructor Details
-
DummyNetworkDatabaseSegmentor
-
-
Method Details
-
shutdown
public void shutdown()Description copied from class:SegmentedNetworkDatabaseFacadeShut down the network databases- Specified by:
shutdownin classSegmentedNetworkDatabaseFacade
-
startup
public void startup()Description copied from class:SegmentedNetworkDatabaseFacadeStart up the network databases- Specified by:
startupin classSegmentedNetworkDatabaseFacade
-
mainNetDB
Description copied from class:SegmentedNetworkDatabaseFacadeGet the main netDb, the one which is used if we're a floodfill- Specified by:
mainNetDBin classSegmentedNetworkDatabaseFacade- Returns:
- may be null if main netDb is not initialized
-
clientNetDB
Description copied from class:SegmentedNetworkDatabaseFacadeGet a client netDb for a given client Hash identifier. Will never return the mainNetDB.- Specified by:
clientNetDBin classSegmentedNetworkDatabaseFacade- Returns:
- may be null if the client netDb does not exist
-