GridSim 5.0 beta

gridsim.parallel.util
Class WorkloadJob

Object
  extended by WorkloadJob

public class WorkloadJob
extends Object

This class represents job read from a a workload trace file.

Since:
5.0
Author:
Marcos Dias de Assuncao

Constructor Summary
WorkloadJob(Gridlet gl, long subTime)
          Creates a new object.
 
Method Summary
 Gridlet getGridlet()
          Returns the job loaded from the file.
 long getSubmissionTime()
          Returns the time at which the job should be submitted
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkloadJob

public WorkloadJob(Gridlet gl,
                   long subTime)
Creates a new object.

Parameters:
gl - the job loaded from the file.
subTime - the time at which the job should be submitted
Method Detail

getGridlet

public Gridlet getGridlet()
Returns the job loaded from the file.

Returns:
the job loaded from the file.

getSubmissionTime

public long getSubmissionTime()
Returns the time at which the job should be submitted

Returns:
the time at which the job should be submitted

GridSim 5.0 beta

The University of Melbourne, Australia, 2009