Package org.apache.bookkeeper.discover
Class BookieServiceInfo
java.lang.Object
org.apache.bookkeeper.discover.BookieServiceInfo
Information about services exposed by a Bookie.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classInformation about an endpoint. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BookieServiceInfoDefault empty implementation.static final Supplier<BookieServiceInfo>Default empty implementation. -
Constructor Summary
ConstructorsConstructorDescriptionBookieServiceInfo(Map<String, String> properties, List<BookieServiceInfo.Endpoint> endpoints) -
Method Summary
Modifier and TypeMethodDescriptionbooleanUnmodifieable structure with the list of exposed endpoints.Unmodifiable map with bookie wide information.inthashCode()voidsetEndpoints(List<BookieServiceInfo.Endpoint> endpoints) voidsetProperties(Map<String, String> properties) toString()
-
Field Details
-
EMPTY
Default empty implementation. -
NO_INFO
Default empty implementation.
-
-
Constructor Details
-
BookieServiceInfo
-
BookieServiceInfo
public BookieServiceInfo()
-
-
Method Details
-
getProperties
Unmodifiable map with bookie wide information.- Returns:
- the map
-
getEndpoints
Unmodifieable structure with the list of exposed endpoints.- Returns:
- the list.
-
setProperties
-
setEndpoints
-
equals
-
hashCode
public int hashCode() -
toString
-