HPSearch

cgl.hpsearch.engine
Class EngineHeartBeat

java.lang.Object
  extended bycgl.hpsearch.engine.EngineHeartBeat

public class EngineHeartBeat
extends Object

Contains the Metadata assoicated with a particular engine. This contains the following data


Created on Nov 2, 2004

Author:
Harshawardhan Gadgil

Constructor Summary
EngineHeartBeat()
           
 
Method Summary
 void decrementNumTasks()
           
 String getBrokerHost()
           
 String getEngineID()
           
static EngineHeartBeat getFromString(String xml)
          Returns the EngineHeartBeat object by unmarshalling the XML
 String getHost()
           
 int getNumTasks()
           
 void incrementNumTasks()
           
static void main(String[] a)
           
 void setBrokerHost(String brokerHost)
           
 void setEngineID(String engineID)
           
 void setHost(String host)
           
 void setNumTasks(int numTasks)
           
 String toXML()
          Serializes to XML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EngineHeartBeat

public EngineHeartBeat()
Method Detail

main

public static void main(String[] a)

incrementNumTasks

public void incrementNumTasks()

decrementNumTasks

public void decrementNumTasks()

toXML

public String toXML()
Serializes to XML

Returns:
The marshalled XML

getFromString

public static EngineHeartBeat getFromString(String xml)
Returns the EngineHeartBeat object by unmarshalling the XML

Parameters:
xml -
Returns:
EngineHeartBeat object or null if error

getBrokerHost

public String getBrokerHost()
Returns:
Returns the brokerHost.

setBrokerHost

public void setBrokerHost(String brokerHost)
Parameters:
brokerHost - The brokerHost to set.

getEngineID

public String getEngineID()
Returns:
Returns the engineID.

setEngineID

public void setEngineID(String engineID)
Parameters:
engineID - The engineID to set.

getHost

public String getHost()
Returns:
Returns the host.

setHost

public void setHost(String host)
Parameters:
host - The host to set.

getNumTasks

public int getNumTasks()
Returns:
Returns the numTasks.

setNumTasks

public void setNumTasks(int numTasks)
Parameters:
numTasks - The numTasks to set.

HPSearch

For comments and suggestions please send e-mail to Harshawardhan Gadgil
Last updated: June 9 2006