Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add comments
  • Loading branch information
tonytanger committed Nov 13, 2019
commit dbc1a6e218b843395000e6ef74778b5192687f6e
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
import org.threeten.bp.Duration;

/**
* A {@link ManagedChannel} that will self refresh the underlying channel so the server
* A {@link ManagedChannel} that will refresh the underlying channel by swapping the underlying
* channel with a new one periodically
*
* <p>Package-private for internal use.
Comment thread
igorbernstein2 marked this conversation as resolved.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@

/**
* A {@link ManagedChannel} that will complete all calls started on the underlying channel before
* shutting down
* shutting down.
*
* This class is not thread-safe. Caller must synchronize in order to ensure no new calls if safe
* shutdown has started.
*
* <p>Package-private for internal use.
*/
Expand All @@ -56,8 +59,8 @@ class SafeShutdownManagedChannel extends ManagedChannel {
}

/**
* Safely shutdown channel by checking that there are no more outstanding calls If there are
* outstanding calls, the calls will call this function again when they complete
* Safely shutdown channel by checking that there are no more outstanding calls. If there are
* outstanding calls, the last call will invoke this method again when it complete
*/
void shutdownSafely() {
isShutdownSafely = true;
Expand Down