grpc-java/netty
Kun Zhang c528df8ae8
core: add internal Subchannel.asChannel() (#4950)
Returns a Channel that allows a LoadBalancer to make auxiliary RPCs on already-established application connections. We need this to implement client-side health-checking (#4932)

See comments on the API for its semantics.

Notable changes:

- Transports are modified to use InUseStateAggregator so that they can exclude RPCs made on Subchannel.asChannel() when reporting in-use state for idle mode.
- OobChannel shares the same Executor as Subchannel.asChannel(). Because the latter is not a ManagedChannel and doesn't have life-cycle, thus can't determine when to return the Executor to a pool, the Executor is now returned only when ManagedChannelImpl is terminated.
2018-10-15 15:39:21 -07:00
..
shaded alts: Use grpc-netty-shaded instead of grpc-netty 2018-08-15 17:39:20 -07:00
src core: add internal Subchannel.asChannel() (#4950) 2018-10-15 15:39:21 -07:00
BUILD.bazel Also fix bazel name of io.netty:netty-transport 2017-08-23 15:48:08 -07:00
build.gradle all: add gradle format checker 2018-06-11 18:35:18 -07:00