Interface Transport.Connection

    • Method Detail

      • getNode

        DiscoveryNode getNode()
        The node this connection is associated with
      • isClosed

        boolean isClosed()
      • getVersion

        default Version getVersion()
        Returns the version of the node this connection was established with.
      • getCacheKey

        default java.lang.Object getCacheKey()
        Returns a key that this connection can be cached on. Delegating subclasses must delegate method call to the original connection.
      • close

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