Skip to content

Commit

Permalink
feature:support offline atomic command by lua
Browse files Browse the repository at this point in the history
  • Loading branch information
cmgyqjj committed Sep 19, 2024
1 parent d3c81d9 commit 4408544
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@ public interface UserInfoCacheService {
*/
boolean saveAndCheckUserLoginStatus(Long userId) throws Exception ;

/**
* 清除用户的登录状态
* @param userId
*/
void removeLoginStatus(Long userId) ;


/**
* query all online user
* @return online user
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ public boolean saveAndCheckUserLoginStatus(Long userId) throws Exception {
}
}

@Override
public void removeLoginStatus(Long userId) {
redisTemplate.opsForSet().remove(LOGIN_STATUS_PREFIX,userId.toString()) ;
}

@Override
public Set<CIMUserInfo> onlineUser() {
Set<CIMUserInfo> set = null ;
Expand Down

0 comments on commit 4408544

Please sign in to comment.