Package s2.channel

Class AutoClosableManagedChannel

  • All Implemented Interfaces:
    java.lang.AutoCloseable
    Direct Known Subclasses:
    AccountChannel, BasinChannel, CombinedChannel

    public class AutoClosableManagedChannel
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      io.grpc.ManagedChannel managedChannel  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • managedChannel

        public final io.grpc.ManagedChannel managedChannel
    • Constructor Detail

      • AutoClosableManagedChannel

        public AutoClosableManagedChannel​(io.grpc.ManagedChannel managedChannel)
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable