[SERVER-35055] KeyedExecutor Created: 17/May/18 Updated: 29/Oct/23 Resolved: 25/May/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.6, 4.0.0-rc1 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Mira Carey |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | service_architecture_continuous_delivery | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Backport Requested: |
v4.0, v3.6
|
||||
| Sprint: | Platforms 2018-05-21, Platforms 2018-06-04 | ||||
| Participants: | |||||
| Description |
|
Provide a type which offers concurrent keyed and queued execution of tasks. Something that looks like:
Where:
|
| Comments |
| Comment by Githook User [ 25/May/18 ] |
|
Author: {'username': 'hanumantmk', 'name': 'Jason Carey', 'email': 'jcarey@argv.me'}Message: This is a thread safe execution primitive for running jobs against an executor with mutual Features: Queued - If a task is submitted for a key and another task is already running for that key, it Thread Safe - This is a thread safe type. Any number of callers may invoke the public api Special Enhancements: onAllCurrentTasksDrained- Invoking this method allows a caller to wait until all of the KeyedExecutorRetry - Throwing or returning KeyedExecutorRetry in a task will cause the task to (cherry picked from commit 333fdd10e3981ef3938dc4a6b5807f2f2da95110) |
| Comment by Githook User [ 25/May/18 ] |
|
Author: {'username': 'hanumantmk', 'name': 'Jason Carey', 'email': 'jcarey@argv.me'}Message: This is a thread safe execution primitive for running jobs against an executor with mutual Features: Queued - If a task is submitted for a key and another task is already running for that key, it Thread Safe - This is a thread safe type. Any number of callers may invoke the public api Special Enhancements: onAllCurrentTasksDrained- Invoking this method allows a caller to wait until all of the KeyedExecutorRetry - Throwing or returning KeyedExecutorRetry in a task will cause the task to (cherry picked from commit 333fdd10e3981ef3938dc4a6b5807f2f2da95110) |
| Comment by Githook User [ 25/May/18 ] |
|
Author: {'username': 'hanumantmk', 'name': 'Jason Carey', 'email': 'jcarey@argv.me'}Message: This is a thread safe execution primitive for running jobs against an executor with mutual Features: Queued - If a task is submitted for a key and another task is already running for that key, it Thread Safe - This is a thread safe type. Any number of callers may invoke the public api Special Enhancements: onAllCurrentTasksDrained- Invoking this method allows a caller to wait until all of the KeyedExecutorRetry - Throwing or returning KeyedExecutorRetry in a task will cause the task to |