Package org.pentaho.di.www
Class SlaveServerDetection
java.lang.Object
org.pentaho.di.www.SlaveServerDetection
This class is what describes the information that we keep when we detect a slave server in the cloud / cluster.
It contains the slave server information as well as the time it was last seen alive, whether it is still alive, etc.
It contains the slave server information as well as the time it was last seen alive, whether it is still alive, etc.
- Since:
- 2008-OCT-08
- Author:
- matt
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSlaveServerDetection(SlaveServer slaveServer) SlaveServerDetection(Node node) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final SlaveServerDetection.SlaveRelationShipgetSlaveRelationShip(String code) getXML()inthashCode()booleanisActive()voidsetActive(boolean active) voidsetLastActiveDate(Date lastActiveDate) voidsetLastInactiveDate(Date lastInactiveDate) voidsetSlaveServer(SlaveServer slaveServer)
-
Field Details
-
XML_TAG
- See Also:
-
-
Constructor Details
-
SlaveServerDetection
-
SlaveServerDetection
-
-
Method Details
-
getSlaveRelationShip
-
getXML
-
equals
-
hashCode
public int hashCode() -
getSlaveServer
- Returns:
- the slaveServer
-
setSlaveServer
- Parameters:
slaveServer- the slaveServer to set
-
isActive
public boolean isActive()- Returns:
- the active
-
setActive
public void setActive(boolean active) - Parameters:
active- the active to set
-
getLastActiveDate
- Returns:
- the lastActiveDate
-
setLastActiveDate
- Parameters:
lastActiveDate- the lastActiveDate to set
-
getLastInactiveDate
- Returns:
- the lastInactiveDate
-
setLastInactiveDate
- Parameters:
lastInactiveDate- the lastInactiveDate to set
-