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

wrong ClientExecutionService usages restored. #10003

Merged

Conversation

sancar
Copy link
Contributor

@sancar sancar commented Mar 2, 2017

Parts that violates following rules are fixed.
User code (listener and callback) runs on userExecutor
Other internals runs on internalExecutor

To avoid further confusion about usages made the following changes

  1. Made ClientExecutionService to use only internalExecutor when used over its methods.
  2. Removed getInternalExecutor to avoid doing same thing two different ways.
  3. Renamed getAsyncExecutor to getUserExecutor to avoid confusion
  4. Used getUserExecutor where needed to fix current wrong usages.

fixes #8651

@sancar sancar added this to the 3.9 milestone Mar 2, 2017
@sancar sancar self-assigned this Mar 2, 2017
@devOpsHazelcast
Copy link
Collaborator

@sancar sancar force-pushed the fix/internalAndUserExecutorUsages/master branch from a6c0f47 to 6661958 Compare March 2, 2017 13:51
@devOpsHazelcast
Copy link
Collaborator

Test PASSed.

Parts that violates following rules are fixed.
User code (listener and callback) runs on userExecutor
Other internals runs on internalExecutor

To avoid further confusion about usages made the following chamnges
1. Made ClientExecutionService to use only internalExecutor when used over its methods.
2. Removed getInternalExecutor to avoid doing same thing two different ways.
3. Renamed getAsyncExecutor to getUserExecutor to avoid confusion
4. Used getUserExecutor where needed to fix current wrong usages.
@devOpsHazelcast
Copy link
Collaborator

Test PASSed.

@sancar sancar changed the title WIP wrong ClientExecutionService usages restored. wrong ClientExecutionService usages restored. Mar 7, 2017
@sancar sancar merged commit 660bbd9 into hazelcast:master Mar 10, 2017
@sancar sancar deleted the fix/internalAndUserExecutorUsages/master branch March 10, 2017 15:02
@mmedenjak mmedenjak added the Source: Internal PR or issue was opened by an employee label Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Source: Internal PR or issue was opened by an employee Team: Client Type: Defect
Projects
None yet
Development

Successfully merging this pull request may close these issues.

userExecutor usage and internalExecutor usages mixed up
5 participants