org.opendoors.cache.immutable
Class Populate

java.lang.Object
  |
  +--org.opendoors.cache.immutable.Populate
All Implemented Interfaces:
java.lang.Runnable

public class Populate
extends java.lang.Object
implements java.lang.Runnable

Populates a shared cache from integer n up to m with Integer(n <= i < m).

Use as a test driver to populate a cache.

See Also:
Depopulate

Field Summary
 long tet
           
 
Constructor Summary
Populate(Cache cache, int n, int m)
          Construct the populator with test parameters.
 
Method Summary
 void run()
          Populates the cache according to the instance parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tet

public long tet
Constructor Detail

Populate

public Populate(Cache cache,
                int n,
                int m)
Construct the populator with test parameters.
Method Detail

run

public void run()
Populates the cache according to the instance parameters.
Specified by:
run in interface java.lang.Runnable