hudson.model.queue
Class FutureLoad

java.lang.Object
  extended by hudson.model.queue.FutureLoad

public final class FutureLoad
extends Object

Estimated future load to Hudson.

Author:
Kohsuke Kawaguchi
See Also:
LoadPredictor

Field Summary
 long duration
          How long is task expected to continue, in milliseconds?
 int numExecutors
          How many executors is this going to consume?
 long startTime
          When is this load expected to start?
 
Constructor Summary
FutureLoad(long startTime, long duration, int numExecutors)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

startTime

public final long startTime
When is this load expected to start?


numExecutors

public final int numExecutors
How many executors is this going to consume?


duration

public final long duration
How long is task expected to continue, in milliseconds?

Constructor Detail

FutureLoad

public FutureLoad(long startTime,
                  long duration,
                  int numExecutors)
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2013. All Rights Reserved.