| | |
| | | Entry cacheSoftReferenceConfigEntry; |
| | | Entry cacheFIFOConfigEntry; |
| | | |
| | | // The entry cache order map sorted by the cache level. |
| | | /** The entry cache order map sorted by the cache level. */ |
| | | private SortedMap<Integer, EntryCache<? extends EntryCacheCfg>> |
| | | cacheOrderMap = new TreeMap<Integer, |
| | | EntryCache<? extends EntryCacheCfg>>(); |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | @Test |
| | | @Override |
| | | public void testContainsEntry() |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | @Test |
| | | @Override |
| | | public void testGetEntry1() |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | @Test |
| | | @Override |
| | | public void testGetEntry2() |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | @Test |
| | | @Override |
| | | public void testGetEntry3() |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | @Test |
| | | @Override |
| | | public void testGetEntryID() |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | @Test |
| | | @Override |
| | | public void testPutEntry() |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | @Test |
| | | @Override |
| | | public void testPutEntryIfAbsent() |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | @Test |
| | | @Override |
| | | public void testRemoveEntry() |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | @Test |
| | | @Override |
| | | public void testClear() |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | @Test |
| | | @Override |
| | | public void testClearBackend() |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | @Test |
| | | @Override |
| | | public void testClearSubtree() |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | @Test |
| | | @Override |
| | | public void testHandleLowMemory() |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | @Test(groups = { "slow", "testDefaultCacheConcurrency" }, |
| | | threadPoolSize = 10, |
| | | invocationCount = 10, |