mirror of https://github.com/grpc/grpc-java.git
doc: clarify channel state API unimplemented until v1.6.1
Resolves #4624
This commit is contained in:
parent
72179e22a5
commit
03d85ee53e
|
|
@ -73,6 +73,8 @@ public abstract class ManagedChannel extends Channel {
|
|||
/**
|
||||
* Gets the current connectivity state. Note the result may soon become outdated.
|
||||
*
|
||||
* <p>Note that the core library did not provide an implementation of this method until v1.6.1.
|
||||
*
|
||||
* @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
|
||||
|
|
@ -96,6 +98,8 @@ public abstract class ManagedChannel extends Channel {
|
|||
* states may not have been observed. The API is only reliable in tracking the <em>current</em>
|
||||
* state.
|
||||
*
|
||||
* <p>Note that the core library did not provide an implementation of this method until v1.6.1.
|
||||
*
|
||||
* @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