freemarker.testcase
Class CacheThread3

java.lang.Object
  |
  +--freemarker.testcase.CacheThread3
All Implemented Interfaces:
java.lang.Runnable

public final class CacheThread3
extends java.lang.Object
implements java.lang.Runnable

Thread for accessing the cache for a set period of time, then exiting. This is used as part of the TestCacheThreaded test case.

Version:
$Id: CacheThread3.java,v 1.10 2003/11/28 01:17:06 run2000 Exp $
Author:
Nicholas Cull
See Also:
CacheThread, CacheThread2, CacheThread4, CacheThread5, TestCacheThreaded

Constructor Summary
CacheThread3(long nPeriod, Cache cCache)
          Creates new CacheThread.
 
Method Summary
 void run()
          Run the test for a given period of time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheThread3

public CacheThread3(long nPeriod,
                    Cache cCache)
Creates new CacheThread.
Method Detail

run

public void run()
Run the test for a given period of time.
Specified by:
run in interface java.lang.Runnable