Class BookieServiceInfoUtils

  • public final class BookieServiceInfoUtils
    extends java.lang.Object
    Utility class for BookieServiceInfo.
    • Constructor Detail

      • BookieServiceInfoUtils

        public BookieServiceInfoUtils()
    • Method Detail

      • buildLegacyBookieServiceInfo

        public static BookieServiceInfo buildLegacyBookieServiceInfo​(java.lang.String bookieId)
        Creates a default legacy bookie info implementation. In the default implementation there is one endpoint with bookie-rpc protocol and the bookie id in the host port.
        bookieId - bookie id
        default implementation of a BookieServiceInfo
        Throws: - if the given bookieId is invalid