mirror of https://github.com/grpc/grpc-java.git
core: update ManagedChannel docs (#3762)
ManagedChannel now supports the getState/notifyWhenStateChanged API (#2292).
This commit is contained in:
parent
6bab82eeb6
commit
3315d16f7c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue