Class FastCacheTest
- java.lang.Object
-
- org.glassfish.pfl.dynamic.copyobject.impl.FastCacheTest
-
public class FastCacheTest extends java.lang.Object
Test out whether FastCache is effective or not.
-
-
Constructor Summary
Constructors Constructor Description FastCacheTest()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
private static void
timeTest(boolean useFastCache)
private static void
warmUp()
-
-
-
Field Detail
-
WORD_LIST
private static final java.lang.String[] WORD_LIST
-
PATTERN
private static int[] PATTERN
-
map
private static java.util.Map<java.lang.String,java.lang.Integer> map
-
cache
private static FastCache<java.lang.String,java.lang.Integer> cache
-
NUM_LOOPS
private static int NUM_LOOPS
-
-