Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INTERNAL: Refactor logic and add comments in addKeyToChunk. #714

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

brido4125
Copy link
Collaborator

asyncGetBulk와 asyncGetsBulk에서 사용되는
addKeyToChunk 메서드의 인자 리팩토링과 주석을 추가하였습니다.
또한 메서드 내의 변수명을 직관적으로 변경하였습니다.

@brido4125 brido4125 self-assigned this Jan 10, 2024
Copy link
Collaborator

@jhpark816 jhpark816 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

리뷰 완료

*/
private void addKeyToChunk(Map<MemcachedNode, List<Collection<String>>> chunkMap, String key) {
MemcachedNode node = conn.findNodeByKey(key);
List<Collection<String>> keyListByNode = chunkMap.get(node);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keyListByNode => keyChunkListByNode 이지만 줄여서 keyChunkList 가 어떤지?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

반영하였습니다.

@jhpark816 jhpark816 merged commit a622c36 into naver:develop Jan 10, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants