org.inria.myriads.snoozeclient.statistics.results
Class SubmissionResults

java.lang.Object
  extended by org.inria.myriads.snoozeclient.statistics.results.SubmissionResults

public final class SubmissionResults
extends Object

Contains the scheduling results.

Author:
Eugen Feller

Constructor Summary
SubmissionResults(int numberOfVirtualMachines, long submissionTime, long timeToSchedule, int numberofFailedAllocations)
          The scheduling results.
 
Method Summary
 int getNumberOfFailedAllocations()
          Returns the number of failed allocations.
 int getNumberOfSuccessfullAllocations()
          Returns the number of successfull allocations.
 int getNumberOfVirtualMachines()
          Returns the number of submitted virtual machines.
 long getSubmissionTime()
          Returns the submission time.
 double getTimeToSchedule()
          Returns the time to schedule.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubmissionResults

public SubmissionResults(int numberOfVirtualMachines,
                         long submissionTime,
                         long timeToSchedule,
                         int numberofFailedAllocations)
The scheduling results.

Parameters:
numberOfVirtualMachines - The number of submitted virtual machines
submissionTime - The submission time
timeToSchedule - The time to schedule
numberofFailedAllocations - The number of failed allocations
Method Detail

getNumberOfVirtualMachines

public int getNumberOfVirtualMachines()
Returns the number of submitted virtual machines.

Returns:
The number of submitted virtual machines

getSubmissionTime

public long getSubmissionTime()
Returns the submission time.

Returns:
The submission time

getTimeToSchedule

public double getTimeToSchedule()
Returns the time to schedule.

Returns:
The time to schedule

getNumberOfSuccessfullAllocations

public int getNumberOfSuccessfullAllocations()
Returns the number of successfull allocations.

Returns:
The number of succesfull allocations

getNumberOfFailedAllocations

public int getNumberOfFailedAllocations()
Returns the number of failed allocations.

Returns:
The number of failed allocations


Copyright © 2012. All Rights Reserved.