(@NotNull String account, @NotNull String clientId)
| 323 | } |
| 324 | |
| 325 | private @NotNull BLocal getLoginLocal(@NotNull String account, @NotNull String clientId) { |
| 326 | var bLocals = _tlocal.get(account); |
| 327 | if (bLocals == null) |
| 328 | throw new IllegalStateException("account not online. " + account); |
| 329 | var bLoginLocal = bLocals.getLogins().get(clientId); |
| 330 | if (bLoginLocal == null || bLoginLocal.getLoginVersion() |
| 331 | != getOrAddOnline(account).getLogins().getOrAdd(clientId).getLoginVersion()) |
| 332 | throw new IllegalStateException("account.client not online. " + account + "." + clientId); |
| 333 | return bLoginLocal; |
| 334 | } |
| 335 | |
| 336 | private final ConcurrentHashMap<String, Long> localActiveTimes = new ConcurrentHashMap<>(); |
| 337 |
no test coverage detected