File tree Expand file tree Collapse file tree
api/src/main/java/io/grpc Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,8 +104,12 @@ public List<ServerServiceDefinition> getMutableServices() {
104104
105105 /**
106106 * Initiates an orderly shutdown in which preexisting calls continue but new calls are rejected.
107- * This call will not wait for preexisting calls finish before returning. After this call returns,
108- * this server has released the listening socket(s) and may be reused by another server.
107+ * After this call returns, this server has released the listening socket(s) and may be reused by
108+ * another server.
109+ *
110+ * Note that this method will not wait for preexisting calls finish before returning.
111+ * {@link #awaitTermination()} or {@link #awaitTermination(long, TimeUnit)} needs to be called to
112+ * wait for existing calls to finish.
109113 *
110114 * @return {@code this} object
111115 * @since 1.0.0
You can’t perform that action at this time.
0 commit comments