MCPcopy Create free account
hub / github.com/e2wugui/zeze / initialize

Method initialize

ZezeJava/ZezeJava/src/main/java/Zeze/Application.java:231–240  ·  view source on GitHub ↗
(@NotNull AppBase app)

Source from the content-addressed store, hash-verified

229 }
230
231 public void initialize(@NotNull AppBase app) {
232 lock();
233 try {
234 appBase = app;
235 if (timer == null && !isNoDatabase() && redirect != null)
236 timer = Timer.create(app);
237 } finally {
238 unlock();
239 }
240 }
241
242 public boolean isNoDatabase() {
243 return conf.isNoDatabase() || conf.getServerId() < 0;

Callers 5

startMethod · 0.45
createModulesMethod · 0.45
createModulesMethod · 0.45
createModulesMethod · 0.45
createModulesMethod · 0.45

Calls 4

isNoDatabaseMethod · 0.95
createMethod · 0.95
lockMethod · 0.65
unlockMethod · 0.65

Tested by 2

startMethod · 0.36
createModulesMethod · 0.36