core: update ManagedChannel docs (#3762)

ManagedChannel now supports the getState/notifyWhenStateChanged API (#2292).
This commit is contained in:
David Cowden 2017-11-17 11:08:49 -08:00 committed by Eric Anderson
parent 6bab82eeb6
commit 3315d16f7c
1 changed files with 0 additions and 6 deletions

View File

@ -73,9 +73,6 @@ public abstract class ManagedChannel extends Channel {
/**
* Gets the current connectivity state. Note the result may soon become outdated.
*
* <p><strong>Warning</strong>: this API is not yet implemented by the gRPC library (<a
* href="https://github.com/grpc/grpc-java/issues/2292" target="_blank">issue on github</a>).
*
* @param requestConnection if {@code true}, the channel will try to make a connection if it is
* currently IDLE
* @throws UnsupportedOperationException if not supported by implementation
@ -92,9 +89,6 @@ public abstract class ManagedChannel extends Channel {
* #getState}. If the states are already different, the callback will be called immediately. The
* callback is run in the same executor that runs Call listeners.
*
* <p><strong>Warning</strong>: this API is not yet implemented by the gRPC library (<a
* href="https://github.com/grpc/grpc-java/issues/2292" target="_blank">issue on github</a>).
*
* @param source the assumed current state, typically just returned by {@link #getState}
* @param callback the one-off callback
* @throws UnsupportedOperationException if not supported by implementation