From 5c4817723e90b8adb8ed0cf923885df6301ed303 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Fri, 25 Mar 2016 10:37:12 -0700 Subject: [PATCH] Warn users shutdownNow doesn't behave as documented This just places back a warning that was mistakenly removed in b687bdc. Fixes #1500 --- core/src/main/java/io/grpc/ManagedChannel.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/main/java/io/grpc/ManagedChannel.java b/core/src/main/java/io/grpc/ManagedChannel.java index af234ee5b4..f9215022d0 100644 --- a/core/src/main/java/io/grpc/ManagedChannel.java +++ b/core/src/main/java/io/grpc/ManagedChannel.java @@ -64,6 +64,8 @@ public abstract class ManagedChannel extends Channel { * Initiates a forceful shutdown in which preexisting and new calls are cancelled. Although * forceful, the shutdown process is still not instantaneous; {@link #isTerminated()} will likely * return {@code false} immediately after this method returns. + * + *

NOT YET IMPLEMENTED. This method currently behaves identically to shutdown(). */ public abstract ManagedChannel shutdownNow();