forked from voldemort/voldemort
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additional refactoring and code prep before making connection checkou…
…t async. src/java/voldemort/store/socket/clientrequest/ClientRequestExecutorPool.java Substantial refactoring and preparation of ClientRequestExecutorPool to actually do an asynchronous checkout. I believe I have essentially preserved prior behavior. I.e., checkout of destination still blocks. But, the pattern now looks a lot more like what is needed to do the checkout asyncrhnously and then callback with the checkedout resource. The exact exception strings likely changed during this refactoring (but control flow should be the same). src/java/voldemort/utils/pool/QueuedKeyedResourcePool.java Skeleton of new class QueuedKeyedResourcePool that extends KeyedResourcePool.
- Loading branch information
Showing
2 changed files
with
319 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.