Skip to content

Commit

Permalink
core: update ManagedChannel docs (#3762)
Browse files Browse the repository at this point in the history
ManagedChannel now supports the getState/notifyWhenStateChanged API (#2292).
  • Loading branch information
David Cowden authored and ejona86 committed Nov 17, 2017
1 parent 6bab82e commit 3315d16
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions core/src/main/java/io/grpc/ManagedChannel.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -92,9 +89,6 @@ public ConnectivityState getState(boolean requestConnection) {
* #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
Expand Down

0 comments on commit 3315d16

Please sign in to comment.