org.gwe.persistence.model
Class AllocationInfo

java.lang.Object
  extended by org.gwe.persistence.model.BaseModelInfo<java.lang.Integer>
      extended by 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

Nested Class Summary
 class AllocationInfo.DeathDealer
           
 
Field Summary
protected  java.lang.String systemPid
           
 
Constructor Summary
AllocationInfo()
           
 
Method Summary
 AllocationInfo.DeathDealer createDeathDealer(DaemonConfigDesc config)
           
 ModelSummary<java.lang.Integer> createModelSummaryFor(EventType ev)
           
 JobExecutionInfo dispose(boolean beatOverdue)
           
 JobExecutionInfo extractProcessingExecution()
           
 void flagAsTooLate()
           
 java.lang.String getAgentBaseFileName(java.lang.String suffix)
           
 java.lang.String getAgentScriptFileName()
           
 java.lang.String getAgentSubmitFileName()
           
 ComputeResourceInfo getCompResource()
           
 AllocationInfo.DeathDealer getDeathDealer()
           
 java.lang.Integer getId()
           
 JobExecutionInfo getNextProcessingExecutionBlocking()
           
 JobExecutionInfo getProcessingExecution()
           
 int getReleaseReason()
           
 java.lang.String getSystemPid()
           
 java.sql.Timestamp getWhenAttained()
           
 java.sql.Timestamp getWhenDisposed()
           
 java.sql.Timestamp getWhenReleased()
           
 java.sql.Timestamp getWhenScheduled()
           
 boolean isRegistered()
           
 boolean isTooLate()
           
 void setCompResource(ComputeResourceInfo compRes)
           
 void setId(int id)
           
 boolean setProcessingExecution(JobExecutionInfo execution)
           
 void setReleaseReason(int reason)
           
 void setSystemPid(java.lang.String pid)
           
 void setTooLateTimerTask(java.util.TimerTask tooLateTimerTask, long delay)
           
 java.lang.String toString()
           
 
Methods inherited from class org.gwe.persistence.model.BaseModelInfo
getWhenCreated, logCreateEvent, logEvent, logEvent, setEventLogger, stampWhenCreated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

systemPid

protected java.lang.String systemPid
Constructor Detail

AllocationInfo

public AllocationInfo()
Method Detail

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.