Class ManagedChannelOrphanWrapper


final class ManagedChannelOrphanWrapper extends ForwardingManagedChannel
Best effort detecting channels that has not been properly cleaned up. Use WeakReference to avoid keeping the channel alive and retaining too much memory. Check lost references only on new channel creation and log message to indicate the previous channel (id and target) that has not been shutdown. This is done to avoid Object finalizers.