Interface NettyServiceProducer

    • Method Detail

      • connectionEstablished

        void connectionEstablished​(TieredStorageSubpartitionId subpartitionId,
                                   NettyConnectionWriter nettyConnectionWriter)
        NettyConnectionWriter will be created when a netty connection is established for a subpartition.
        Parameters:
        subpartitionId - subpartition id indicates the id of subpartition.
        nettyConnectionWriter - writer is used to write buffers to netty connection.
      • connectionBroken

        void connectionBroken​(NettyConnectionId connectionId)
        NettyConnectionWriter related to a connection id will be notified when the netty connection is broken.
        Parameters:
        connectionId - connection id is the id of connection.