|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.jwarp.service.cache.test.CacheTest
This is the cache test class. There are several settings to be combined and so several possibilities of behaviour. This class tests the most important settings. Also unrealistic settings are tested.
| Inner Class Summary | |
(package private) class |
CacheTest.AccessThread
Thread simulating the access to a cache. |
| Constructor Summary | |
CacheTest()
Construct a new CacheTest. |
|
| Method Summary | |
static void |
main(java.lang.String[] args)
Main method. |
void |
testCache()
This method does test the cache. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public CacheTest()
| Method Detail |
public static void main(java.lang.String[] args)
args - The command line args (actually none supported)public void testCache()
Each test case is printed out to System.out followed by the caches update statistics. All values used here are divided by a factor of 5 to the values probably be realistic for a running cache thus providing a faster test (we're running more than 200 tests here...).
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||