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

Method Stop

ZezeJava/ZezexJava/server/ModuleEquip.hot.java:95–108  ·  view source on GitHub ↗
(App app)

Source from the content-addressed store, hash-verified

93 }
94
95 public void Stop(App app) {
96 App.Zeze.getHotManager().throwIfMatch("stop");
97
98 logger.info("Stop " + this.getFullName());
99 App.Zeze.newProcedure(() -> {
100 var timer = App.Zeze.getTimer();
101 if (!isHotUpgrade()) {
102 timer.cancel(timerNamed);
103 timer.cancel(timerHot);
104 }
105 timer.getRoleTimer().cancel(timerOnline, roleId);
106 return 0;
107 }, "cancel timers").call();
108 }
109
110 @Override
111 public String getTimerHot() {

Callers 1

stopMethod · 0.95

Calls 9

isHotUpgradeMethod · 0.95
throwIfMatchMethod · 0.80
getRoleTimerMethod · 0.80
getFullNameMethod · 0.65
callMethod · 0.65
cancelMethod · 0.65
getHotManagerMethod · 0.45
newProcedureMethod · 0.45
getTimerMethod · 0.45

Tested by

no test coverage detected