org.gwe.persistence.model
Class AllocationInfo
java.lang.Object
org.gwe.persistence.model.BaseModelInfo<java.lang.Integer>
org.gwe.persistence.model.AllocationInfo
- All Implemented Interfaces:
- java.io.Serializable
public class AllocationInfo
- extends BaseModelInfo<java.lang.Integer>
- Since:
- Aug 20, 2007
- Author:
- Marco Ruiz
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
systemPid
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
systemPid
protected java.lang.String systemPid
AllocationInfo
public AllocationInfo()
getId
public java.lang.Integer getId()
- Specified by:
getId
in class BaseModelInfo<java.lang.Integer>
setId
public void setId(int id)
getSystemPid
public java.lang.String getSystemPid()
setSystemPid
public void setSystemPid(java.lang.String pid)
isRegistered
public boolean isRegistered()
getWhenScheduled
public java.sql.Timestamp getWhenScheduled()
getWhenAttained
public java.sql.Timestamp getWhenAttained()
getWhenReleased
public java.sql.Timestamp getWhenReleased()
getWhenDisposed
public java.sql.Timestamp getWhenDisposed()
getCompResource
public ComputeResourceInfo getCompResource()
setCompResource
public void setCompResource(ComputeResourceInfo compRes)
createDeathDealer
public AllocationInfo.DeathDealer createDeathDealer(DaemonConfigDesc config)
getDeathDealer
public AllocationInfo.DeathDealer getDeathDealer()
getReleaseReason
public int getReleaseReason()
setReleaseReason
public void setReleaseReason(int reason)
getProcessingExecution
public JobExecutionInfo getProcessingExecution()
extractProcessingExecution
public JobExecutionInfo extractProcessingExecution()
getNextProcessingExecutionBlocking
public JobExecutionInfo getNextProcessingExecutionBlocking()
setProcessingExecution
public boolean setProcessingExecution(JobExecutionInfo execution)
dispose
public JobExecutionInfo dispose(boolean beatOverdue)
createModelSummaryFor
public ModelSummary<java.lang.Integer> createModelSummaryFor(EventType ev)
- Overrides:
createModelSummaryFor
in class BaseModelInfo<java.lang.Integer>
getAgentBaseFileName
public java.lang.String getAgentBaseFileName(java.lang.String suffix)
getAgentScriptFileName
public java.lang.String getAgentScriptFileName()
getAgentSubmitFileName
public java.lang.String getAgentSubmitFileName()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
setTooLateTimerTask
public void setTooLateTimerTask(java.util.TimerTask tooLateTimerTask,
long delay)
isTooLate
public boolean isTooLate()
flagAsTooLate
public void flagAsTooLate()
Copyright © 2007-2009. All Rights Reserved.