Gets the current connectivity state. Note the result may soon become outdated. Note that the core library did not provide an implementation of this method until v1.6.1. @param requestConnection if true, the channel will try to make a connection if it is currently IDLE @throws Uns
(boolean requestConnection)
| 81 | * @since 1.1.0 |
| 82 | */ |
| 83 | @ExperimentalApi("https://github.com/grpc/grpc-java/issues/4359") |
| 84 | public ConnectivityState getState(boolean requestConnection) { |
| 85 | throw new UnsupportedOperationException("Not implemented"); |
| 86 | } |
| 87 | |
| 88 | /** |
| 89 | * Registers a one-off callback that will be run if the connectivity state of the channel diverges |
no outgoing calls