MCPcopy Create free account
hub / github.com/C-176/LeoBlog-back / remove

Method remove

src/main/java/com/chen/LeoBlog/base/SocketPool.java:35–39  ·  view source on GitHub ↗

根据Key删除连接 @param keyId 主键

(Long keyId)

Source from the content-addressed store, hash-verified

33 * @param keyId 主键
34 */
35 public static void remove(Long keyId) {
36 if (keyId!=null){
37 ONLINE_USER_SESSIONS.remove(keyId);
38 }
39 }
40
41 /**
42 * 获取在线人数

Callers 11

onCloseMethod · 0.95
deleteCommentByUserIdMethod · 0.80
setLabelListMethod · 0.80
deleteArticleMethod · 0.80
collectArticleMethod · 0.80
getFollowArticlesMethod · 0.80
likeArticleMethod · 0.80
getMsgFromBoxMethod · 0.80
unfollowUserMethod · 0.80
removeUserMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected