be.ac.ua.broker.allocation.spot.model
Class Task

java.lang.Object
  extended by be.ac.ua.broker.allocation.spot.model.Task

public class Task
extends java.lang.Object

The Task class represents a certain task (with given length) that will be simulated.

Author:
Vermeersch Kurt (Based on Sangho Yi c++ implementation of the spot model)

Constructor Summary
Task(int time_appexec, java.lang.String inst)
          Constructor for the Task.
 
Method Summary
 java.lang.Double getTotalExecutionTime()
          Getter for the total execution time of the task
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Task

public Task(int time_appexec,
            java.lang.String inst)
Constructor for the Task.

Parameters:
time_appexec - length of the task
inst - instance type/category this task is run on
Method Detail

getTotalExecutionTime

public java.lang.Double getTotalExecutionTime()
Getter for the total execution time of the task

Returns:
the requested total execution time