public interface Workload extends Job
RunnableEntity.RunnableState
Modifier and Type | Method and Description |
---|---|
RamZone |
getRamZone()
Returns this workload's RamZone.
|
Job |
getRemoteJob()
Returns current workload's remote
Job . |
StorageFile |
getStorageFile()
Returns current workload's
StorageFile . |
void |
setRemoteJob(Job remoteJob)
Updates current workload's remote
Job . |
void |
setStorageFile(StorageFile storageFile)
Updates current workload's
StorageFile . |
allocateRam, appendFile, clone, compute, createFile, getOperations, getParent, getPriority, getRemoteOperations, readFile, receiveData, receiveData, scheduleSignal, sendData, sendData, setPriority, writeFile
canRestart, canStart, doCancel, doFail, doPause, doRestart, doStart, doTerminate, getRunnableState, isRunning, isTerminated, unplace
addEntity, getConfig, getConfigRec, getEntities, getId, getLogger, getName, getProperties, getProperty, getProperty, hasParentRec, lockParent, lockParentRec, removeEntity, setConfig, setName, setParent, setProperty, unlockParent, unlockParentRec, unsetProperty
addGlobalListener, addListener, cancelNotifications, cleanupListeners, disableNotifications, enableNotifications, getGlobalListeners, getListeners, isNotificationsDisabled, notify, notifyNow, removeAllGlobalListeners, removeAllListeners, removeAllListeners, removeGlobalListener, removeListener
addProbe, getProbe, getProbe, getProbes, removeProbe, removeProbe
RamZone getRamZone()
If there is no RamZone associated with the current workload, then one is created automatically.
StorageFile getStorageFile()
StorageFile
.
By default, a random file is selected among all current user's files.
And, if the current user has no attached files, then the default is null.
Current user is the owner of the parent virtual machine.
All tasks that works on StorageFile
s will be given this file.
StorageFile
void setStorageFile(StorageFile storageFile)
StorageFile
.storageFile
- Job getRemoteJob()
Job
.
By default, a job is created on one of the current user's ThinClient
s.
And, if the current user has no attached ThinClient
s then one is created.
Current user is the owner of the parent virtual machine.
All tasks that needs a remote Job
will be given this job.
Job