gr.uoa.di.madgik.commons.infra
Class HostingNodeTopology
java.lang.Object
gr.uoa.di.madgik.commons.infra.HostingNodeTopology
public class HostingNodeTopology
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HostingNodeTopology
public HostingNodeTopology()
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 © 2013. All Rights Reserved.