gr.uoa.di.madgik.commons.infra
Class HostingNodeTopology

java.lang.Object
  extended by gr.uoa.di.madgik.commons.infra.HostingNodeTopology

public class HostingNodeTopology
extends Object


Constructor Summary
HostingNodeTopology()
           
 
Method Summary
static boolean containsNode(String hostname)
           
static void fromXML(String xml)
           
static boolean sameDomain(String hostName1, String hostName2)
           
static boolean sameNode(String hostName1, String hostName2)
           
static boolean sameRack(String hostName1, String hostName2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostingNodeTopology

public HostingNodeTopology()
Method Detail

fromXML

public static void fromXML(String xml)
                    throws Exception
Throws:
Exception

containsNode

public static boolean containsNode(String hostname)

sameNode

public static boolean sameNode(String hostName1,
                               String hostName2)
                        throws Exception
Throws:
Exception

sameRack

public static boolean sameRack(String hostName1,
                               String hostName2)
                        throws Exception
Throws:
Exception

sameDomain

public static boolean sameDomain(String hostName1,
                                 String hostName2)
                          throws Exception
Throws:
Exception


Copyright © 2012. All Rights Reserved.