gov.bnl.star.offline.scheduler.monitor
Class MDSHostInfo

java.lang.Object
  extended by gov.bnl.star.offline.scheduler.monitor.MDSHostInfo
All Implemented Interfaces:
HostInfo

public class MDSHostInfo
extends java.lang.Object
implements HostInfo

Author:
Gabriele Carcassi

Constructor Summary
MDSHostInfo()
          Creates a new instance of MDSHostInfo
 
Method Summary
 java.lang.String getAdapterName()
           
 java.lang.String getHostName()
          Returns the full name of the machine.
 java.lang.String getIPAddress()
           
 double getLoad15m()
          Average number of jobs in the run queue (of the OS) in the past 15 minutes.
 double getLoad1m()
          Average number of jobs in the run queue (of the OS) in the past minute.
 double getLoad5m()
          Average number of jobs in the run queue (of the OS) in the past 5 minutes.
 double getLoadSMP15Min()
           
 double getLoadSMP1Min()
           
 double getLoadSMP5Min()
           
 double getMemoryAvailable()
          Returns the available free memory in KBytes.
 double getMemorySize()
          Returns the total memory available in KBytes.
 int getProcessorCount()
          Number of CPUs on the machine.
 double getProcessorSpeed()
          The speed of the processor in MHz.
 java.lang.String getUniqueID()
           
 void setAdapterName(java.lang.String adapterName)
           
 void setHostName(java.lang.String hostName)
           
 void setIPAddress(java.lang.String IPAddress)
           
 void setLoad15Min(double load15Min)
           
 void setLoad1Min(double load1Min)
           
 void setLoad5Min(double load5Min)
           
 void setLoadSMP15Min(double loadSMP15Min)
           
 void setLoadSMP1Min(double loadSMP1Min)
           
 void setLoadSMP5Min(double loadSMP5Min)
           
 void setMemoryAvailable(double memoryAvailable)
           
 void setMemorySize(double memorySize)
           
 void setProcessorCount(int processorCount)
           
 void setProcessorSpeed(double processorSpeed)
           
 void setUniqueID(java.lang.String uniqueID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MDSHostInfo

public MDSHostInfo()
Creates a new instance of MDSHostInfo

Method Detail

setHostName

public void setHostName(java.lang.String hostName)

getHostName

public java.lang.String getHostName()
Description copied from interface: HostInfo
Returns the full name of the machine. For example, rcas6023.rcf.bnl.gov

Specified by:
getHostName in interface HostInfo

setLoad1Min

public void setLoad1Min(double load1Min)

getLoad1m

public double getLoad1m()
Description copied from interface: HostInfo
Average number of jobs in the run queue (of the OS) in the past minute.

Specified by:
getLoad1m in interface HostInfo

setLoad5Min

public void setLoad5Min(double load5Min)

getLoad5m

public double getLoad5m()
Description copied from interface: HostInfo
Average number of jobs in the run queue (of the OS) in the past 5 minutes.

Specified by:
getLoad5m in interface HostInfo

setLoad15Min

public void setLoad15Min(double load15Min)

getLoad15m

public double getLoad15m()
Description copied from interface: HostInfo
Average number of jobs in the run queue (of the OS) in the past 15 minutes.

Specified by:
getLoad15m in interface HostInfo

setLoadSMP1Min

public void setLoadSMP1Min(double loadSMP1Min)

getLoadSMP1Min

public double getLoadSMP1Min()

setLoadSMP5Min

public void setLoadSMP5Min(double loadSMP5Min)

getLoadSMP5Min

public double getLoadSMP5Min()

setLoadSMP15Min

public void setLoadSMP15Min(double loadSMP15Min)

getLoadSMP15Min

public double getLoadSMP15Min()

setMemoryAvailable

public void setMemoryAvailable(double memoryAvailable)

getMemoryAvailable

public double getMemoryAvailable()
Description copied from interface: HostInfo
Returns the available free memory in KBytes.

Specified by:
getMemoryAvailable in interface HostInfo

setMemorySize

public void setMemorySize(double memorySize)

getMemorySize

public double getMemorySize()
Description copied from interface: HostInfo
Returns the total memory available in KBytes.

Specified by:
getMemorySize in interface HostInfo

setProcessorSpeed

public void setProcessorSpeed(double processorSpeed)

getProcessorSpeed

public double getProcessorSpeed()
Description copied from interface: HostInfo
The speed of the processor in MHz.

Specified by:
getProcessorSpeed in interface HostInfo

setProcessorCount

public void setProcessorCount(int processorCount)

getProcessorCount

public int getProcessorCount()
Description copied from interface: HostInfo
Number of CPUs on the machine.

Specified by:
getProcessorCount in interface HostInfo

setIPAddress

public void setIPAddress(java.lang.String IPAddress)

getIPAddress

public java.lang.String getIPAddress()

setAdapterName

public void setAdapterName(java.lang.String adapterName)

getAdapterName

public java.lang.String getAdapterName()

setUniqueID

public void setUniqueID(java.lang.String uniqueID)

getUniqueID

public java.lang.String getUniqueID()


Copyright © 2002-2004 STAR collaboration - Brookhaven National Laboratory. All Rights Reserved.