graphmine-core / io.github.sof3.graphmine / Server / <init>
Server(dataDir:
File
, config:
CoreConfig
, initNano:
Long
= System.nanoTime(), scope:
BaseScope
= BaseScope(Server::class))
The Server should be the object that links up different components of the server.
To prevent cyclic dependency, instead of passing the Server object around, pass the objects that will actually be used, e.g. the logger, the config, etc.