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

Method getOnline

ZezeJava/ZezeJava/src/main/java/Zeze/Arch/Online.java:266–271  ·  view source on GitHub ↗
(@NotNull String account)

Source from the content-addressed store, hash-verified

264 }
265
266 public @Nullable BOnlines getOnline(@NotNull String account) {
267 var t = Transaction.getCurrent();
268 if (t != null && t.isRunning())
269 return _tonline.get(account);
270 return _tonline.selectDirty(account);
271 }
272
273 public @NotNull BOnlines getOrAddOnline(@NotNull String account) {
274 return _tonline.getOrAdd(account);

Callers 11

isOnlineMethod · 0.95
getLoginMethod · 0.95
getStateMethod · 0.95
tryLogoutMethod · 0.95
getLogoutVersionMethod · 0.95
getAccountLoginCountMethod · 0.95
groupByServerMethod · 0.95
tryRemoveLocalMethod · 0.95
bindDynamicMethod · 0.95

Calls 4

getCurrentMethod · 0.95
getMethod · 0.65
selectDirtyMethod · 0.65
isRunningMethod · 0.45

Tested by

no test coverage detected