com.couchbase.client.vbucket.config
Class Node

java.lang.Object
  extended by com.couchbase.client.vbucket.config.Node

public class Node
extends java.lang.Object

A Node.


Constructor Summary
Node(Status status, java.lang.String hostname, java.util.Map<Port,java.lang.String> ports)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getHostname()
           
 java.util.Map<Port,java.lang.String> getPorts()
           
 Status getStatus()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Node

public Node(Status status,
            java.lang.String hostname,
            java.util.Map<Port,java.lang.String> ports)
Method Detail

getStatus

public Status getStatus()

getHostname

public java.lang.String getHostname()

getPorts

public java.util.Map<Port,java.lang.String> getPorts()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.