Package dev.twilite.game.common
Class ServerLoader
java.lang.Object
dev.twilite.game.common.ServerLoader
Loads and caches the public Old School RuneScape server list.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ServerLoader
public ServerLoader()
-
-
Method Details
-
loaded
Returns the current cached servers by id and queues a background refresh when stale. -
loaded
Returns a cached server by id and queues a background refresh when stale. -
warmup
Loads the server list synchronously when the cache is empty.
-