- clientBeat
void clientBeat(Miniorm db)
Undocumented in source. Be warned that the author may not have intended to support it.
- daemonBeat
void daemonBeat(Miniorm db)
Undocumented in source. Be warned that the author may not have intended to support it.
- getClientBeat
Duration getClientBeat(Miniorm db)
Undocumented in source. Be warned that the author may not have intended to support it.
- getDaemonBeat
Duration getDaemonBeat(Miniorm db)
The heartbeat when daemon was last executed.
- getLeastLoadedServer
Host[] getLeastLoadedServer(Miniorm db)
Undocumented in source. Be warned that the author may not have intended to support it.
- getOldestServer
Nullable!Host getOldestServer(Miniorm db)
- getServerLoads
Tuple!(HostLoad[], "online", HostLoad[], "unused") getServerLoads(Miniorm db, Host[] filterBy_, Duration timeout, Duration maxAge)
- newServer
void newServer(Miniorm db, HostLoad a)
Update the data for a server.
- openDatabase
Miniorm openDatabase(Path dbFile)
Undocumented in source. Be warned that the author may not have intended to support it.
- openDatabase
Miniorm openDatabase(string dbFile)
Undocumented in source. Be warned that the author may not have intended to support it.
- purgeServers
void purgeServers(Miniorm db)
Undocumented in source. Be warned that the author may not have intended to support it.
- removeUnusedServers
void removeUnusedServers(Miniorm db, Duration unused)
Those that haven't been used for unused seconds.
- syncCluster
void syncCluster(Miniorm db, Host[] cluster)
Sync the hosts in the database with those that the client expect to exist.
- updateLastUse
void updateLastUse(Miniorm db, Host[] cluster)
Undocumented in source. Be warned that the author may not have intended to support it.
- updateServer
void updateServer(Miniorm db, HostLoad a, SysTime updateTime)
Update the data for a server.