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

INTERNA: Change callback method for mutate operation. #786

Closed
wants to merge 1 commit into from

Conversation

brido4125
Copy link
Collaborator

@brido4125 brido4125 commented Jul 11, 2024

변경 내용

mutate의 연산 결과를 receivedStatus가 아닌
gotMutatedValue 콜백 메서드를 추가해 이를 통해
받아오도록 변경하였습니다.

관련 이슈

https://github.com/jam2in/arcus-works/issues/584#issuecomment-2216229651

@brido4125 brido4125 marked this pull request as draft July 11, 2024 05:12
@brido4125 brido4125 marked this pull request as ready for review July 11, 2024 05:39
@brido4125 brido4125 self-assigned this Jul 11, 2024
}));

@Override
public void gotMutatedValue(Long result) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

gotDelta로 이름을 바꿉시다.

/**
* Callback for mutate operation.
*
* @param result the value that was mutated.
Copy link
Collaborator

Choose a reason for hiding this comment

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

주석도 변화량을 매개변수로 넣어줘야 한다는 점을 더욱 명확하게 나타내는 문장으로 바꾸고요.

@brido4125 brido4125 marked this pull request as draft July 16, 2024 07:45
@brido4125
Copy link
Collaborator Author

아래 코멘트에 의해서 PR close 하고
callback 처리 시 일괄적으로 다루겠습니다.

https://github.com/jam2in/arcus-works/issues/584#issuecomment-2235803311

@brido4125 brido4125 closed this Jul 30, 2024
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