FEATURE: Add overriden method "shutdown(long, TimeUnit)" to ArcusClient. #697
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
네트워크 지연이 있는 상태에서, ArcusClint 객체의 Operation Queue에 많은 Operation이 쌓여 있는 경우, 기존의 ArcusClient.shutdown()을 수행하면 반드시 2초(SHUTDOWN_TIMEOUT_MILLISECONDS)를 기다려야 합니다.
ArcusClient의 부모 클래스인 MemcachedClient 클래스의 shutdown(long, TimeUnit)을 통해 기다리는 시간을 조절할 수 있으나, CacheManager.shutdown()를 수행할 수 없다는 문제가 있습니다.
따라서 ArcusClient.shutdown(long, TimeUnit)을 추가하여 기다리는 시간도 조절하고, CacheManager.shutdown()도 수행할 수 있도록 했습니다.