public class NodeMetadata extends Object implements Comparable<NodeMetadata>
Constructor and Description |
---|
NodeMetadata(Collection<URL> urls) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(NodeMetadata o) |
static NodeMetadata |
deserialize(ByteBuffer buffer) |
boolean |
equals(Object o) |
int |
hashCode() |
ByteBuffer |
serialize() |
String |
toString() |
URL |
url(String protocol) |
Collection<URL> |
urls() |
public NodeMetadata(Collection<URL> urls)
public Collection<URL> urls()
public int compareTo(NodeMetadata o)
compareTo
in interface Comparable<NodeMetadata>
public ByteBuffer serialize()
public static NodeMetadata deserialize(ByteBuffer buffer)