Skip to content

Commit 6784bca

Browse files
committed
api: clarify that Server.shutdown() does not block on preexisting calls
1 parent 5cb0f94 commit 6784bca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

api/src/main/java/io/grpc/Server.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ public List<ServerServiceDefinition> getMutableServices() {
104104

105105
/**
106106
* Initiates an orderly shutdown in which preexisting calls continue but new calls are rejected.
107-
* After this call returns, this server has released the listening socket(s) and may be reused by
108-
* another server.
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.
109109
*
110110
* @return {@code this} object
111111
* @since 1.0.0

0 commit comments

Comments
 (0)