com.sun.faban.driver.engine
Class VariableLoadHandler

java.lang.Object
  extended by com.sun.faban.driver.engine.VariableLoadHandler
All Implemented Interfaces:
Iterator

public class VariableLoadHandler
extends Object
implements Iterator

The variable load handler provides the load indexes for load variation.

Author:
Hubert Wong

Nested Class Summary
static class VariableLoadHandler.VariableLoad
          The load variation bucket.
 
Method Summary
 boolean hasNext()
          Checks whether there is another load bucket.
static void main(String[] args)
          Test code for the load variation handler.
 VariableLoadHandler.VariableLoad next()
          Obtains the next load bucket.
 void remove()
          Removes the load bucket.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasNext

public boolean hasNext()
Checks whether there is another load bucket.

Specified by:
hasNext in interface Iterator
Returns:
Whether there is another load bucket

next

public VariableLoadHandler.VariableLoad next()
Obtains the next load bucket.

Specified by:
next in interface Iterator
Returns:
The next load bucket

remove

public void remove()
Removes the load bucket. This is not supported.

Specified by:
remove in interface Iterator

main

public static void main(String[] args)
Test code for the load variation handler.

Parameters:
args - Command line arguments