Class BookieServiceInfo


  • public final class BookieServiceInfo
    extends java.lang.Object
    Information about services exposed by a Bookie.
    • Field Detail

      • NO_INFO

        public static final java.util.function.Supplier<BookieServiceInfo> NO_INFO
        Default empty implementation.
    • Constructor Detail

      • BookieServiceInfo

        public BookieServiceInfo​(java.util.Map<java.lang.String,​java.lang.String> properties,
                                 java.util.List<BookieServiceInfo.Endpoint> endpoints)
      • BookieServiceInfo

        public BookieServiceInfo()
    • Method Detail

      • getProperties

        public java.util.Map<java.lang.String,​java.lang.String> getProperties()
        Unmodifiable map with bookie wide information.
        Returns:
        the map
      • getEndpoints

        public java.util.List<BookieServiceInfo.Endpoint> getEndpoints()
        Unmodifieable structure with the list of exposed endpoints.
        Returns:
        the list.
      • setProperties

        public void setProperties​(java.util.Map<java.lang.String,​java.lang.String> properties)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object