Java imap nio client that is designed to scale well for thousands of connections per machine and reduce contention when using large number of threads and cpus.
When calling execute() in ImapAsyncSessionImpl, client written command may throw runtime exception when calling its methods. Before this fix, we did not handle, that causes the execute() to throw runtime exception while future is still in the queue. This fix catches it and processes and cleans up the future queue if present.
Description
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[] New feature (non-breaking change which adds functionality)
[] Breaking change (fix or feature that would cause existing functionality to change)
[] Major release (change is NOT backward compatible with prior release)
Checklist:
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
When calling execute() in ImapAsyncSessionImpl, client written command may throw runtime exception when calling its methods. Before this fix, we did not handle, that causes the execute() to throw runtime exception while future is still in the queue. This fix catches it and processes and cleans up the future queue if present.
Description
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: