org.opendoors.cache.immutable
Class Depopulate

java.lang.Object
  extended byorg.opendoors.cache.immutable.Depopulate
All Implemented Interfaces:
java.lang.Runnable

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

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

Use as a driver to depopulate a cache.

See Also:
Populate

Constructor Summary
Depopulate(Cache cache, int n, int m)
          Construct the depopulator with test parameters.
 
Method Summary
 void run()
          Depopulates 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
 

Constructor Detail

Depopulate

public Depopulate(Cache cache,
                  int n,
                  int m)
Construct the depopulator with test parameters.

Method Detail

run

public void run()
Depopulates the cache according to the instance parameters.

Specified by:
run in interface java.lang.Runnable