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

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

public class HostingNode
extends Object


Field Summary
static String DiskSizeProperty
           
static String DomainProperty
           
static String HostnameFullProperty
           
static String HostnameProperty
           
protected  String id
           
protected  boolean isLocal
           
static String LoadFifteenMinutesProperty
           
static String LoadFiveMinutesProperty
           
static String LoadOneHourProperty
           
static String LoadOneWeekProperty
           
protected  Map<String,String> pairs
           
static String PhysicalMemoryAvailableProperty
           
static String PhysicalMemorySizeProperty
           
static String PortProperty
           
static String ProcessorCountProperty
           
static String ProcessorTotalBogomipsProperty
           
static String ProcessorTotalClockSpeedProperty
           
static String VirtualMemoryAvailableProperty
           
static String VirtualMemorySizeProperty
           
 
Constructor Summary
protected HostingNode()
           
  HostingNode(String id, Map<String,String> pairs)
           
 
Method Summary
 void addProperty(String name, String value)
           
 String getId()
           
 Map<String,String> getProperties()
           
 String getPropertyByName(String propertyName)
           
 boolean isLocal()
           
 void markLocal()
           
 String toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HostnameProperty

public static String HostnameProperty

HostnameFullProperty

public static String HostnameFullProperty

PortProperty

public static String PortProperty

LoadOneHourProperty

public static String LoadOneHourProperty

LoadOneWeekProperty

public static String LoadOneWeekProperty

LoadFiveMinutesProperty

public static String LoadFiveMinutesProperty

LoadFifteenMinutesProperty

public static String LoadFifteenMinutesProperty

DiskSizeProperty

public static String DiskSizeProperty

PhysicalMemorySizeProperty

public static String PhysicalMemorySizeProperty

PhysicalMemoryAvailableProperty

public static String PhysicalMemoryAvailableProperty

VirtualMemorySizeProperty

public static String VirtualMemorySizeProperty

VirtualMemoryAvailableProperty

public static String VirtualMemoryAvailableProperty

ProcessorCountProperty

public static String ProcessorCountProperty

ProcessorTotalBogomipsProperty

public static String ProcessorTotalBogomipsProperty

ProcessorTotalClockSpeedProperty

public static String ProcessorTotalClockSpeedProperty

DomainProperty

public static String DomainProperty

id

protected String id

pairs

protected Map<String,String> pairs

isLocal

protected boolean isLocal
Constructor Detail

HostingNode

protected HostingNode()

HostingNode

public HostingNode(String id,
                   Map<String,String> pairs)
Method Detail

getId

public String getId()

getPropertyByName

public String getPropertyByName(String propertyName)

getProperties

public Map<String,String> getProperties()

addProperty

public void addProperty(String name,
                        String value)

markLocal

public void markLocal()

isLocal

public boolean isLocal()

toXML

public String toXML()


Copyright © 2012. All Rights Reserved.