Package org.apache.bookkeeper.net
Class BookieNode
- java.lang.Object
-
- org.apache.bookkeeper.net.NodeBase
-
- org.apache.bookkeeper.net.BookieNode
-
-
Field Summary
-
Fields inherited from class org.apache.bookkeeper.net.NodeBase
level, location, name, parent, PATH_SEPARATOR, PATH_SEPARATOR_STR, ROOT
-
-
Constructor Summary
Constructors Constructor Description BookieNode(BookieId addr, java.lang.String networkLoc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
BookieId
getAddr()
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class org.apache.bookkeeper.net.NodeBase
getLevel, getName, getNetworkLocation, getNetworkLocation, getParent, getPath, locationToDepth, normalize, setLevel, setNetworkLocation, setParent
-
-
-
-
Constructor Detail
-
BookieNode
public BookieNode(BookieId addr, java.lang.String networkLoc)
-
-
Method Detail
-
getAddr
public BookieId getAddr()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-