org.infinispan.distribution.ch
Class NodeTopologyInfo

java.lang.Object
  extended by org.infinispan.distribution.ch.NodeTopologyInfo

public class NodeTopologyInfo
extends Object

Holds topology information about a a node.

Since:
4.2
Author:
Mircea.Markus@jboss.com

Nested Class Summary
static class NodeTopologyInfo.NodeTopologyInfoExternalizer
           
 
Constructor Summary
NodeTopologyInfo(String machineId, String rackId, String siteId, Address address)
           
 
Method Summary
 boolean equals(Object o)
           
 Address getAddress()
           
 String getMachineId()
           
 String getRackId()
           
 String getSiteId()
           
 int hashCode()
           
 boolean sameMachine(NodeTopologyInfo info2)
           
 boolean sameRack(NodeTopologyInfo info2)
           
 boolean sameSite(NodeTopologyInfo info2)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeTopologyInfo

public NodeTopologyInfo(String machineId,
                        String rackId,
                        String siteId,
                        Address address)
Method Detail

getMachineId

public String getMachineId()

getRackId

public String getRackId()

getSiteId

public String getSiteId()

sameSite

public boolean sameSite(NodeTopologyInfo info2)

sameRack

public boolean sameRack(NodeTopologyInfo info2)

sameMachine

public boolean sameMachine(NodeTopologyInfo info2)

getAddress

public Address getAddress()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.