org.scoja.util
Class ExpiringLRUCacheStressTest.User

java.lang.Object
java.lang.Thread
org.scoja.util.ExpiringLRUCacheStressTest.User
- All Implemented Interfaces:
- java.lang.Runnable
- Enclosing class:
- ExpiringLRUCacheStressTest
- public static class ExpiringLRUCacheStressTest.User
- extends java.lang.Thread
| Nested classes inherited from class java.lang.Thread |
java.lang.Thread.UncaughtExceptionHandler |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
cache
final ExpiringLRUCache cache
range
final int range
round
final long round
random
final java.util.Random random
totalAccess
int totalAccess
notFoundAccess
int notFoundAccess
base
int base
periodEnd
long periodEnd
periods
int periods
created
int created
killed
int killed
stopRequested
boolean stopRequested
ExpiringLRUCacheStressTest.User
public ExpiringLRUCacheStressTest.User(ExpiringLRUCache cache,
int range,
long round)
shouldStop
public void shouldStop()
getTotalAccess
public int getTotalAccess()
getNotFoundAccess
public int getNotFoundAccess()
periodCount
public int periodCount()
createdCount
public int createdCount()
addKilled
public void addKilled()
killedCount
public int killedCount()
run
public void run()
- Description copied from class:
java.lang.Thread
- The method of Thread that will be run if there is no Runnable object
associated with the Thread. Thread's implementation does nothing at all.
access
private void access()