Interface PeerSelectRule


public interface PeerSelectRule
  • Method Summary

    Modifier and Type Method Description
    java.lang.String select​(java.util.List<ConnectionInfo> conns)
    PeerSelectRule Customize a rule to select a peer to send message to
  • Method Details

    • select

      java.lang.String select​(java.util.List<ConnectionInfo> conns)
      PeerSelectRule Customize a rule to select a peer to send message to
      Parameters:
      conns - the list of connection info
      Returns:
      the selected peer