You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tv...@apache.org on 2013/08/25 16:17:28 UTC
svn commit: r1517295 [14/15] - in /commons/proper/jcs/trunk: ./
auxiliary-builds/javagroups/src/java/org/apache/commons/
auxiliary-builds/javagroups/src/java/org/apache/jcs/auxiliary/javagroups/
auxiliary-builds/javagroups/src/test/org/apache/commons/ ...
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/util/RemoteCacheRequestFactoryUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/util/RemoteCacheRequestFactoryUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/util/RemoteCacheRequestFactoryUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/util/RemoteCacheRequestFactoryUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.auxiliary.remote.util;
+package org.apache.commons.jcs.auxiliary.remote.util;
import java.io.Serializable;
import java.util.Collections;
@@ -6,9 +6,10 @@ import java.util.Set;
import junit.framework.TestCase;
-import org.apache.jcs.auxiliary.remote.value.RemoteCacheRequest;
-import org.apache.jcs.auxiliary.remote.value.RemoteRequestType;
-import org.apache.jcs.engine.CacheElement;
+import org.apache.commons.jcs.auxiliary.remote.util.RemoteCacheRequestFactory;
+import org.apache.commons.jcs.auxiliary.remote.value.RemoteCacheRequest;
+import org.apache.commons.jcs.auxiliary.remote.value.RemoteRequestType;
+import org.apache.commons.jcs.engine.CacheElement;
/** Unit tests for the request creator. */
public class RemoteCacheRequestFactoryUnitTest
Copied: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/CacheEventQueueFactoryUnitTest.java (from r1479115, commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/CacheEventQueueFactoryUnitTest.java)
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/CacheEventQueueFactoryUnitTest.java?p2=commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/CacheEventQueueFactoryUnitTest.java&p1=commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/CacheEventQueueFactoryUnitTest.java&r1=1479115&r2=1517295&rev=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/CacheEventQueueFactoryUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/CacheEventQueueFactoryUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,10 +1,13 @@
-package org.apache.jcs.engine;
+package org.apache.commons.jcs.engine;
import junit.framework.TestCase;
-import org.apache.jcs.auxiliary.remote.MockRemoteCacheListener;
-import org.apache.jcs.engine.behavior.ICacheEventQueue;
-import org.apache.jcs.engine.behavior.ICacheListener;
+import org.apache.commons.jcs.auxiliary.remote.MockRemoteCacheListener;
+import org.apache.commons.jcs.engine.CacheEventQueue;
+import org.apache.commons.jcs.engine.CacheEventQueueFactory;
+import org.apache.commons.jcs.engine.PooledCacheEventQueue;
+import org.apache.commons.jcs.engine.behavior.ICacheEventQueue;
+import org.apache.commons.jcs.engine.behavior.ICacheListener;
/** Unit tests for the CacheEventQueueFactory */
public class CacheEventQueueFactoryUnitTest
Copied: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/EventQueueConcurrentLoadTest.java (from r1479115, commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/EventQueueConcurrentLoadTest.java)
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/EventQueueConcurrentLoadTest.java?p2=commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/EventQueueConcurrentLoadTest.java&p1=commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/EventQueueConcurrentLoadTest.java&r1=1479115&r2=1517295&rev=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/EventQueueConcurrentLoadTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/EventQueueConcurrentLoadTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.engine;
+package org.apache.commons.jcs.engine;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -26,8 +26,10 @@ import junit.extensions.ActiveTestSuite;
import junit.framework.Test;
import junit.framework.TestCase;
-import org.apache.jcs.engine.behavior.ICacheElement;
-import org.apache.jcs.engine.behavior.ICacheListener;
+import org.apache.commons.jcs.engine.CacheElement;
+import org.apache.commons.jcs.engine.CacheEventQueue;
+import org.apache.commons.jcs.engine.behavior.ICacheElement;
+import org.apache.commons.jcs.engine.behavior.ICacheListener;
/**
* This test case is designed to makes sure there are no deadlocks in the event queue. The time to
Propchange: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/EventQueueConcurrentLoadTest.java
------------------------------------------------------------------------------
cvs2svn:cvs-rev = 1.4
Propchange: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/EventQueueConcurrentLoadTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/EventQueueConcurrentLoadTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Copied: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/MockCacheEventQueue.java (from r1479115, commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/MockCacheEventQueue.java)
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/MockCacheEventQueue.java?p2=commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/MockCacheEventQueue.java&p1=commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/MockCacheEventQueue.java&r1=1479115&r2=1517295&rev=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/MockCacheEventQueue.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/MockCacheEventQueue.java Sun Aug 25 14:17:11 2013
@@ -1,8 +1,9 @@
-package org.apache.jcs.engine;
+package org.apache.commons.jcs.engine;
import java.io.Serializable;
-import org.apache.jcs.auxiliary.remote.MockRemoteCacheListener;
+import org.apache.commons.jcs.auxiliary.remote.MockRemoteCacheListener;
+import org.apache.commons.jcs.engine.CacheEventQueue;
/** For testing the factory */
public class MockCacheEventQueue<K extends Serializable, V extends Serializable>
Copied: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/MockCacheServiceNonLocal.java (from r1479115, commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/MockCacheServiceNonLocal.java)
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/MockCacheServiceNonLocal.java?p2=commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/MockCacheServiceNonLocal.java&p1=commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/MockCacheServiceNonLocal.java&r1=1479115&r2=1517295&rev=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/MockCacheServiceNonLocal.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/MockCacheServiceNonLocal.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.engine;
+package org.apache.commons.jcs.engine;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -28,8 +28,8 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
-import org.apache.jcs.engine.behavior.ICacheElement;
-import org.apache.jcs.engine.behavior.ICacheServiceNonLocal;
+import org.apache.commons.jcs.engine.behavior.ICacheElement;
+import org.apache.commons.jcs.engine.behavior.ICacheServiceNonLocal;
/**
* This is a mock impl of the non local cache service.
Copied: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/SystemPropertyUsageUnitTest.java (from r1479115, commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/SystemPropertyUsageUnitTest.java)
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/SystemPropertyUsageUnitTest.java?p2=commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/SystemPropertyUsageUnitTest.java&p1=commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/SystemPropertyUsageUnitTest.java&r1=1479115&r2=1517295&rev=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/SystemPropertyUsageUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/SystemPropertyUsageUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.engine;
+package org.apache.commons.jcs.engine;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -23,9 +23,9 @@ import java.util.Properties;
import junit.framework.TestCase;
-import org.apache.jcs.JCS;
-import org.apache.jcs.engine.control.CompositeCacheManager;
-import org.apache.jcs.utils.props.PropertyLoader;
+import org.apache.commons.jcs.JCS;
+import org.apache.commons.jcs.engine.control.CompositeCacheManager;
+import org.apache.commons.jcs.utils.props.PropertyLoader;
/**
* Verify that system properties can override.
Copied: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/ZombieCacheServiceNonLocalUnitTest.java (from r1479115, commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/ZombieCacheServiceNonLocalUnitTest.java)
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/ZombieCacheServiceNonLocalUnitTest.java?p2=commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/ZombieCacheServiceNonLocalUnitTest.java&p1=commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/ZombieCacheServiceNonLocalUnitTest.java&r1=1479115&r2=1517295&rev=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/ZombieCacheServiceNonLocalUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/ZombieCacheServiceNonLocalUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.engine;
+package org.apache.commons.jcs.engine;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -21,7 +21,9 @@ package org.apache.jcs.engine;
import junit.framework.TestCase;
-import org.apache.jcs.engine.behavior.ICacheElement;
+import org.apache.commons.jcs.engine.CacheElement;
+import org.apache.commons.jcs.engine.ZombieCacheServiceNonLocal;
+import org.apache.commons.jcs.engine.behavior.ICacheElement;
/**
* Tests for the zombie remote cache service.
Copied: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/CacheManagerStatsUnitTest.java (from r1479115, commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/control/CacheManagerStatsUnitTest.java)
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/CacheManagerStatsUnitTest.java?p2=commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/CacheManagerStatsUnitTest.java&p1=commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/control/CacheManagerStatsUnitTest.java&r1=1479115&r2=1517295&rev=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/control/CacheManagerStatsUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/CacheManagerStatsUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.engine.control;
+package org.apache.commons.jcs.engine.control;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -21,8 +21,9 @@ package org.apache.jcs.engine.control;
import junit.framework.TestCase;
-import org.apache.jcs.JCS;
-import org.apache.jcs.engine.stats.behavior.ICacheStats;
+import org.apache.commons.jcs.JCS;
+import org.apache.commons.jcs.engine.control.CompositeCacheManager;
+import org.apache.commons.jcs.engine.stats.behavior.ICacheStats;
/**
* @author Aaron Smuts
Copied: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/CompositeCacheConfiguratorUnitTest.java (from r1479115, commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/control/CompositeCacheConfiguratorUnitTest.java)
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/CompositeCacheConfiguratorUnitTest.java?p2=commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/CompositeCacheConfiguratorUnitTest.java&p1=commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/control/CompositeCacheConfiguratorUnitTest.java&r1=1479115&r2=1517295&rev=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/control/CompositeCacheConfiguratorUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/CompositeCacheConfiguratorUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,15 +1,18 @@
-package org.apache.jcs.engine.control;
+package org.apache.commons.jcs.engine.control;
import java.util.Properties;
import junit.framework.TestCase;
-import org.apache.jcs.auxiliary.AuxiliaryCache;
-import org.apache.jcs.auxiliary.AuxiliaryCacheConfigurator;
-import org.apache.jcs.auxiliary.MockAuxiliaryCache;
-import org.apache.jcs.auxiliary.MockAuxiliaryCacheAttributes;
-import org.apache.jcs.auxiliary.MockAuxiliaryCacheFactory;
-import org.apache.jcs.engine.logging.MockCacheEventLogger;
+import org.apache.commons.jcs.auxiliary.AuxiliaryCache;
+import org.apache.commons.jcs.auxiliary.AuxiliaryCacheConfigurator;
+import org.apache.commons.jcs.auxiliary.MockAuxiliaryCache;
+import org.apache.commons.jcs.auxiliary.MockAuxiliaryCacheAttributes;
+import org.apache.commons.jcs.auxiliary.MockAuxiliaryCacheFactory;
+import org.apache.commons.jcs.engine.control.CompositeCache;
+import org.apache.commons.jcs.engine.control.CompositeCacheConfigurator;
+import org.apache.commons.jcs.engine.control.CompositeCacheManager;
+import org.apache.commons.jcs.engine.logging.MockCacheEventLogger;
/** Unit tests for the configurator. */
public class CompositeCacheConfiguratorUnitTest
Copied: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/CompositeCacheDiskUsageUnitTest.java (from r1479115, commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/control/CompositeCacheDiskUsageUnitTest.java)
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/CompositeCacheDiskUsageUnitTest.java?p2=commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/CompositeCacheDiskUsageUnitTest.java&p1=commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/control/CompositeCacheDiskUsageUnitTest.java&r1=1479115&r2=1517295&rev=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/control/CompositeCacheDiskUsageUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/CompositeCacheDiskUsageUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.engine.control;
+package org.apache.commons.jcs.engine.control;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -28,22 +28,23 @@ import java.util.Set;
import junit.framework.TestCase;
-import org.apache.jcs.JCS;
-import org.apache.jcs.access.exception.CacheException;
-import org.apache.jcs.auxiliary.AbstractAuxiliaryCache;
-import org.apache.jcs.auxiliary.AuxiliaryCache;
-import org.apache.jcs.auxiliary.AuxiliaryCacheAttributes;
-import org.apache.jcs.engine.CacheElement;
-import org.apache.jcs.engine.CacheStatus;
-import org.apache.jcs.engine.CompositeCacheAttributes;
-import org.apache.jcs.engine.ElementAttributes;
-import org.apache.jcs.engine.behavior.ICacheElement;
-import org.apache.jcs.engine.behavior.ICacheType.CacheType;
-import org.apache.jcs.engine.behavior.ICompositeCacheAttributes;
-import org.apache.jcs.engine.behavior.IElementAttributes;
-import org.apache.jcs.engine.behavior.IElementSerializer;
-import org.apache.jcs.engine.logging.behavior.ICacheEventLogger;
-import org.apache.jcs.engine.stats.behavior.IStats;
+import org.apache.commons.jcs.JCS;
+import org.apache.commons.jcs.access.exception.CacheException;
+import org.apache.commons.jcs.auxiliary.AbstractAuxiliaryCache;
+import org.apache.commons.jcs.auxiliary.AuxiliaryCache;
+import org.apache.commons.jcs.auxiliary.AuxiliaryCacheAttributes;
+import org.apache.commons.jcs.engine.CacheElement;
+import org.apache.commons.jcs.engine.CacheStatus;
+import org.apache.commons.jcs.engine.CompositeCacheAttributes;
+import org.apache.commons.jcs.engine.ElementAttributes;
+import org.apache.commons.jcs.engine.behavior.ICacheElement;
+import org.apache.commons.jcs.engine.behavior.ICompositeCacheAttributes;
+import org.apache.commons.jcs.engine.behavior.IElementAttributes;
+import org.apache.commons.jcs.engine.behavior.IElementSerializer;
+import org.apache.commons.jcs.engine.behavior.ICacheType.CacheType;
+import org.apache.commons.jcs.engine.control.CompositeCache;
+import org.apache.commons.jcs.engine.logging.behavior.ICacheEventLogger;
+import org.apache.commons.jcs.engine.stats.behavior.IStats;
/**
* Tests of the disk usage settings for the CompositeCache.
@@ -440,7 +441,7 @@ public class CompositeCacheDiskUsageUnit
/**
* Returns the setup cache type. This allows you to use this mock as multiple cache types.
* <p>
- * @see org.apache.jcs.engine.behavior.ICacheType#getCacheType()
+ * @see org.apache.commons.jcs.engine.behavior.ICacheType#getCacheType()
* @return cacheType
*/
public CacheType getCacheType()
Copied: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/CompositeCacheUnitTest.java (from r1479115, commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/control/CompositeCacheUnitTest.java)
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/CompositeCacheUnitTest.java?p2=commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/CompositeCacheUnitTest.java&p1=commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/control/CompositeCacheUnitTest.java&r1=1479115&r2=1517295&rev=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/control/CompositeCacheUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/CompositeCacheUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.engine.control;
+package org.apache.commons.jcs.engine.control;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -24,16 +24,17 @@ import java.util.Map;
import junit.framework.TestCase;
-import org.apache.jcs.auxiliary.AuxiliaryCache;
-import org.apache.jcs.auxiliary.MockAuxiliaryCache;
-import org.apache.jcs.engine.CacheElement;
-import org.apache.jcs.engine.CompositeCacheAttributes;
-import org.apache.jcs.engine.ElementAttributes;
-import org.apache.jcs.engine.behavior.ICacheElement;
-import org.apache.jcs.engine.behavior.ICacheType.CacheType;
-import org.apache.jcs.engine.behavior.ICompositeCacheAttributes;
-import org.apache.jcs.engine.behavior.IElementAttributes;
-import org.apache.jcs.engine.memory.MockMemoryCache;
+import org.apache.commons.jcs.auxiliary.AuxiliaryCache;
+import org.apache.commons.jcs.auxiliary.MockAuxiliaryCache;
+import org.apache.commons.jcs.engine.CacheElement;
+import org.apache.commons.jcs.engine.CompositeCacheAttributes;
+import org.apache.commons.jcs.engine.ElementAttributes;
+import org.apache.commons.jcs.engine.behavior.ICacheElement;
+import org.apache.commons.jcs.engine.behavior.ICompositeCacheAttributes;
+import org.apache.commons.jcs.engine.behavior.IElementAttributes;
+import org.apache.commons.jcs.engine.behavior.ICacheType.CacheType;
+import org.apache.commons.jcs.engine.control.CompositeCache;
+import org.apache.commons.jcs.engine.memory.MockMemoryCache;
/**
* Tests that directly engage the composite cache.
@@ -54,7 +55,7 @@ public class CompositeCacheUnitTest
{
// SETUP
String cacheName = "testCacheName";
- String mockMemoryCacheClassName = "org.apache.jcs.engine.memory.MockMemoryCache";
+ String mockMemoryCacheClassName = "org.apache.commons.jcs.engine.memory.MockMemoryCache";
ICompositeCacheAttributes cattr = new CompositeCacheAttributes();
cattr.setMemoryCacheName( mockMemoryCacheClassName );
@@ -94,7 +95,7 @@ public class CompositeCacheUnitTest
{
// SETUP
String cacheName = "testCacheName";
- String mockMemoryCacheClassName = "org.apache.jcs.engine.memory.MockMemoryCache";
+ String mockMemoryCacheClassName = "org.apache.commons.jcs.engine.memory.MockMemoryCache";
ICompositeCacheAttributes cattr = new CompositeCacheAttributes();
cattr.setMemoryCacheName( mockMemoryCacheClassName );
@@ -136,7 +137,7 @@ public class CompositeCacheUnitTest
String keyprefix1 = "MyPrefix1";
String keyprefix2 = "MyPrefix2";
String cacheName = "testGetMatching_Normal";
- String memoryCacheClassName = "org.apache.jcs.engine.memory.lru.LRUMemoryCache";
+ String memoryCacheClassName = "org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache";
ICompositeCacheAttributes cattr = new CompositeCacheAttributes();
cattr.setMemoryCacheName( memoryCacheClassName );
cattr.setMaxObjects( maxMemorySize );
@@ -187,7 +188,7 @@ public class CompositeCacheUnitTest
// SETUP
int maxMemorySize = 0;
String cacheName = "testGetMatching_NotOnDisk";
- String memoryCacheClassName = "org.apache.jcs.engine.memory.lru.LRUMemoryCache";
+ String memoryCacheClassName = "org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache";
ICompositeCacheAttributes cattr = new CompositeCacheAttributes();
cattr.setMemoryCacheName( memoryCacheClassName );
cattr.setMaxObjects( maxMemorySize );
@@ -220,7 +221,7 @@ public class CompositeCacheUnitTest
// SETUP
int maxMemorySize = 0;
String cacheName = "testGetMatching_NotOnDisk";
- String memoryCacheClassName = "org.apache.jcs.engine.memory.lru.LRUMemoryCache";
+ String memoryCacheClassName = "org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache";
ICompositeCacheAttributes cattr = new CompositeCacheAttributes();
cattr.setMemoryCacheName( memoryCacheClassName );
cattr.setMaxObjects( maxMemorySize );
Copied: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/MockCompositeCacheManager.java (from r1479115, commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/control/MockCompositeCacheManager.java)
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/MockCompositeCacheManager.java?p2=commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/MockCompositeCacheManager.java&p1=commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/control/MockCompositeCacheManager.java&r1=1479115&r2=1517295&rev=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/control/MockCompositeCacheManager.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/MockCompositeCacheManager.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.engine.control;
+package org.apache.commons.jcs.engine.control;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -22,9 +22,10 @@ package org.apache.jcs.engine.control;
import java.io.Serializable;
import java.util.Properties;
-import org.apache.jcs.engine.CompositeCacheAttributes;
-import org.apache.jcs.engine.ElementAttributes;
-import org.apache.jcs.engine.behavior.ICompositeCacheManager;
+import org.apache.commons.jcs.engine.CompositeCacheAttributes;
+import org.apache.commons.jcs.engine.ElementAttributes;
+import org.apache.commons.jcs.engine.behavior.ICompositeCacheManager;
+import org.apache.commons.jcs.engine.control.CompositeCache;
/** For testing. */
public class MockCompositeCacheManager
Copied: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/MockElementSerializer.java (from r1479115, commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/control/MockElementSerializer.java)
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/MockElementSerializer.java?p2=commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/MockElementSerializer.java&p1=commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/control/MockElementSerializer.java&r1=1479115&r2=1517295&rev=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/control/MockElementSerializer.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/MockElementSerializer.java Sun Aug 25 14:17:11 2013
@@ -1,10 +1,10 @@
-package org.apache.jcs.engine.control;
+package org.apache.commons.jcs.engine.control;
import java.io.IOException;
import java.io.Serializable;
-import org.apache.jcs.engine.behavior.IElementSerializer;
-import org.apache.jcs.utils.serialization.StandardSerializer;
+import org.apache.commons.jcs.engine.behavior.IElementSerializer;
+import org.apache.commons.jcs.utils.serialization.StandardSerializer;
/** For mocking. */
public class MockElementSerializer
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/event/ElementEventHandlerMockImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/event/ElementEventHandlerMockImpl.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/event/ElementEventHandlerMockImpl.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/event/ElementEventHandlerMockImpl.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.engine.control.event;
+package org.apache.commons.jcs.engine.control.event;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -19,11 +19,11 @@ package org.apache.jcs.engine.control.ev
* under the License.
*/
+import org.apache.commons.jcs.engine.control.event.behavior.ElementEventType;
+import org.apache.commons.jcs.engine.control.event.behavior.IElementEvent;
+import org.apache.commons.jcs.engine.control.event.behavior.IElementEventHandler;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.apache.jcs.engine.control.event.behavior.IElementEvent;
-import org.apache.jcs.engine.control.event.behavior.ElementEventType;
-import org.apache.jcs.engine.control.event.behavior.IElementEventHandler;
/**
* @author aaronsm
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/event/SimpleEventHandlingUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/event/SimpleEventHandlingUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/event/SimpleEventHandlingUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/control/event/SimpleEventHandlingUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.engine.control.event;
+package org.apache.commons.jcs.engine.control.event;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -21,11 +21,11 @@ package org.apache.jcs.engine.control.ev
import junit.framework.TestCase;
-import org.apache.jcs.JCS;
-import org.apache.jcs.engine.behavior.IElementAttributes;
-import org.apache.jcs.engine.control.event.behavior.IElementEvent;
-import org.apache.jcs.engine.control.event.behavior.ElementEventType;
-import org.apache.jcs.engine.control.event.behavior.IElementEventHandler;
+import org.apache.commons.jcs.JCS;
+import org.apache.commons.jcs.engine.behavior.IElementAttributes;
+import org.apache.commons.jcs.engine.control.event.behavior.ElementEventType;
+import org.apache.commons.jcs.engine.control.event.behavior.IElementEvent;
+import org.apache.commons.jcs.engine.control.event.behavior.IElementEventHandler;
/**
* This test suite verifies that the basic ElementEvent are called as they should be.
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/logging/CacheEventLoggerDebugLoggerUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/logging/CacheEventLoggerDebugLoggerUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/logging/CacheEventLoggerDebugLoggerUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/logging/CacheEventLoggerDebugLoggerUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,10 +1,11 @@
-package org.apache.jcs.engine.logging;
+package org.apache.commons.jcs.engine.logging;
import java.io.StringWriter;
import junit.framework.TestCase;
-import org.apache.jcs.engine.logging.behavior.ICacheEvent;
+import org.apache.commons.jcs.engine.logging.CacheEventLoggerDebugLogger;
+import org.apache.commons.jcs.engine.logging.behavior.ICacheEvent;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.apache.log4j.PatternLayout;
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/logging/MockCacheEventLogger.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/logging/MockCacheEventLogger.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/logging/MockCacheEventLogger.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/logging/MockCacheEventLogger.java Sun Aug 25 14:17:11 2013
@@ -1,9 +1,10 @@
-package org.apache.jcs.engine.logging;
+package org.apache.commons.jcs.engine.logging;
import java.io.Serializable;
-import org.apache.jcs.engine.logging.behavior.ICacheEvent;
-import org.apache.jcs.engine.logging.behavior.ICacheEventLogger;
+import org.apache.commons.jcs.engine.logging.CacheEvent;
+import org.apache.commons.jcs.engine.logging.behavior.ICacheEvent;
+import org.apache.commons.jcs.engine.logging.behavior.ICacheEventLogger;
/**
* For testing the configurator.
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/match/KeyMatcherPatternImpllUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/match/KeyMatcherPatternImpllUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/match/KeyMatcherPatternImpllUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/match/KeyMatcherPatternImpllUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,8 +1,10 @@
-package org.apache.jcs.engine.match;
+package org.apache.commons.jcs.engine.match;
import java.util.HashSet;
import java.util.Set;
+import org.apache.commons.jcs.engine.match.KeyMatcherPatternImpl;
+
import junit.framework.TestCase;
/** Unit tests for the key matcher. */
Copied: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/MockMemoryCache.java (from r1479115, commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/memory/MockMemoryCache.java)
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/MockMemoryCache.java?p2=commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/MockMemoryCache.java&p1=commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/memory/MockMemoryCache.java&r1=1479115&r2=1517295&rev=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/jcs/engine/memory/MockMemoryCache.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/MockMemoryCache.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.engine.memory;
+package org.apache.commons.jcs.engine.memory;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -27,12 +27,12 @@ import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;
-import org.apache.jcs.engine.behavior.ICacheElement;
-import org.apache.jcs.engine.behavior.ICompositeCacheAttributes;
-import org.apache.jcs.engine.control.CompositeCache;
-import org.apache.jcs.engine.memory.behavior.IMemoryCache;
-import org.apache.jcs.engine.memory.util.MemoryElementDescriptor;
-import org.apache.jcs.engine.stats.behavior.IStats;
+import org.apache.commons.jcs.engine.behavior.ICacheElement;
+import org.apache.commons.jcs.engine.behavior.ICompositeCacheAttributes;
+import org.apache.commons.jcs.engine.control.CompositeCache;
+import org.apache.commons.jcs.engine.memory.behavior.IMemoryCache;
+import org.apache.commons.jcs.engine.memory.util.MemoryElementDescriptor;
+import org.apache.commons.jcs.engine.stats.behavior.IStats;
/**
* Mock implementation of a memory cache for testing things like the memory shrinker.
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/fifo/FIFOMemoryCacheUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/fifo/FIFOMemoryCacheUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/fifo/FIFOMemoryCacheUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/fifo/FIFOMemoryCacheUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,14 +1,15 @@
-package org.apache.jcs.engine.memory.fifo;
+package org.apache.commons.jcs.engine.memory.fifo;
import java.io.IOException;
import junit.framework.TestCase;
-import org.apache.jcs.engine.CacheElement;
-import org.apache.jcs.engine.CompositeCacheAttributes;
-import org.apache.jcs.engine.ElementAttributes;
-import org.apache.jcs.engine.behavior.ICompositeCacheAttributes;
-import org.apache.jcs.engine.control.CompositeCache;
+import org.apache.commons.jcs.engine.CacheElement;
+import org.apache.commons.jcs.engine.CompositeCacheAttributes;
+import org.apache.commons.jcs.engine.ElementAttributes;
+import org.apache.commons.jcs.engine.behavior.ICompositeCacheAttributes;
+import org.apache.commons.jcs.engine.control.CompositeCache;
+import org.apache.commons.jcs.engine.memory.fifo.FIFOMemoryCache;
/** Unit tests for the fifo implementation. */
public class FIFOMemoryCacheUnitTest
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/lru/LHMLRUMemoryCacheConcurrentUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/lru/LHMLRUMemoryCacheConcurrentUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/lru/LHMLRUMemoryCacheConcurrentUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/lru/LHMLRUMemoryCacheConcurrentUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.engine.memory.lru;
+package org.apache.commons.jcs.engine.memory.lru;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -27,10 +27,11 @@ import junit.extensions.ActiveTestSuite;
import junit.framework.Test;
import junit.framework.TestCase;
-import org.apache.jcs.engine.CacheElement;
-import org.apache.jcs.engine.behavior.ICacheElement;
-import org.apache.jcs.engine.control.CompositeCache;
-import org.apache.jcs.engine.control.CompositeCacheManager;
+import org.apache.commons.jcs.engine.CacheElement;
+import org.apache.commons.jcs.engine.behavior.ICacheElement;
+import org.apache.commons.jcs.engine.control.CompositeCache;
+import org.apache.commons.jcs.engine.control.CompositeCacheManager;
+import org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache;
/**
* Test which exercises the LRUMemory cache. This one uses three different
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/lru/LHMLRUMemoryCacheUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/lru/LHMLRUMemoryCacheUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/lru/LHMLRUMemoryCacheUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/lru/LHMLRUMemoryCacheUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.engine.memory.lru;
+package org.apache.commons.jcs.engine.memory.lru;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -25,12 +25,13 @@ import java.util.Set;
import junit.framework.TestCase;
-import org.apache.jcs.JCS;
-import org.apache.jcs.access.exception.CacheException;
-import org.apache.jcs.engine.CacheElement;
-import org.apache.jcs.engine.behavior.ICacheElement;
-import org.apache.jcs.engine.control.CompositeCache;
-import org.apache.jcs.engine.control.CompositeCacheManager;
+import org.apache.commons.jcs.JCS;
+import org.apache.commons.jcs.access.exception.CacheException;
+import org.apache.commons.jcs.engine.CacheElement;
+import org.apache.commons.jcs.engine.behavior.ICacheElement;
+import org.apache.commons.jcs.engine.control.CompositeCache;
+import org.apache.commons.jcs.engine.control.CompositeCacheManager;
+import org.apache.commons.jcs.engine.memory.lru.LHMLRUMemoryCache;
/**
* Tests for the test LHMLRU implementation.
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/lru/LRUMemoryCacheConcurrentUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/lru/LRUMemoryCacheConcurrentUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/lru/LRUMemoryCacheConcurrentUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/lru/LRUMemoryCacheConcurrentUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.engine.memory.lru;
+package org.apache.commons.jcs.engine.memory.lru;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -27,10 +27,11 @@ import junit.extensions.ActiveTestSuite;
import junit.framework.Test;
import junit.framework.TestCase;
-import org.apache.jcs.engine.CacheElement;
-import org.apache.jcs.engine.behavior.ICacheElement;
-import org.apache.jcs.engine.control.CompositeCache;
-import org.apache.jcs.engine.control.CompositeCacheManager;
+import org.apache.commons.jcs.engine.CacheElement;
+import org.apache.commons.jcs.engine.behavior.ICacheElement;
+import org.apache.commons.jcs.engine.control.CompositeCache;
+import org.apache.commons.jcs.engine.control.CompositeCacheManager;
+import org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache;
/**
* Test which exercises the LRUMemory cache. This one uses three different
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/mru/LRUvsMRUPerformanceTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/mru/LRUvsMRUPerformanceTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/mru/LRUvsMRUPerformanceTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/mru/LRUvsMRUPerformanceTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.engine.memory.mru;
+package org.apache.commons.jcs.engine.memory.mru;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -21,10 +21,11 @@ package org.apache.jcs.engine.memory.mru
import junit.framework.TestCase;
+import org.apache.commons.jcs.JCS;
+import org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache;
+import org.apache.commons.jcs.engine.memory.mru.MRUMemoryCache;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.apache.jcs.JCS;
-import org.apache.jcs.engine.memory.lru.LRUMemoryCache;
/**
* Tests the performance difference between the LRU and the MRU. There should be very little.
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/mru/MRUMemoryCacheUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/mru/MRUMemoryCacheUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/mru/MRUMemoryCacheUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/mru/MRUMemoryCacheUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.engine.memory.mru;
+package org.apache.commons.jcs.engine.memory.mru;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -25,12 +25,13 @@ import java.util.Set;
import junit.framework.TestCase;
-import org.apache.jcs.JCS;
-import org.apache.jcs.access.exception.CacheException;
-import org.apache.jcs.engine.CacheElement;
-import org.apache.jcs.engine.behavior.ICacheElement;
-import org.apache.jcs.engine.control.CompositeCache;
-import org.apache.jcs.engine.control.CompositeCacheManager;
+import org.apache.commons.jcs.JCS;
+import org.apache.commons.jcs.access.exception.CacheException;
+import org.apache.commons.jcs.engine.CacheElement;
+import org.apache.commons.jcs.engine.behavior.ICacheElement;
+import org.apache.commons.jcs.engine.control.CompositeCache;
+import org.apache.commons.jcs.engine.control.CompositeCacheManager;
+import org.apache.commons.jcs.engine.memory.mru.MRUMemoryCache;
/**
* Tests for the test MRU implementation.
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/shrinking/ShrinkerThreadUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/shrinking/ShrinkerThreadUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/shrinking/ShrinkerThreadUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/shrinking/ShrinkerThreadUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.engine.memory.shrinking;
+package org.apache.commons.jcs.engine.memory.shrinking;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -23,12 +23,13 @@ import java.io.IOException;
import junit.framework.TestCase;
-import org.apache.jcs.engine.CacheElement;
-import org.apache.jcs.engine.CompositeCacheAttributes;
-import org.apache.jcs.engine.ElementAttributes;
-import org.apache.jcs.engine.behavior.ICacheElement;
-import org.apache.jcs.engine.control.event.ElementEventHandlerMockImpl;
-import org.apache.jcs.engine.memory.MockMemoryCache;
+import org.apache.commons.jcs.engine.CacheElement;
+import org.apache.commons.jcs.engine.CompositeCacheAttributes;
+import org.apache.commons.jcs.engine.ElementAttributes;
+import org.apache.commons.jcs.engine.behavior.ICacheElement;
+import org.apache.commons.jcs.engine.control.event.ElementEventHandlerMockImpl;
+import org.apache.commons.jcs.engine.memory.MockMemoryCache;
+import org.apache.commons.jcs.engine.memory.shrinking.ShrinkerThread;
/**
* This tests the functionality of the shrinker thread.
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/access/JCSWorkerUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/access/JCSWorkerUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/access/JCSWorkerUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/access/JCSWorkerUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.access;
+package org.apache.commons.jcs.utils.access;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -19,6 +19,10 @@ package org.apache.jcs.utils.access;
* under the License.
*/
+import org.apache.commons.jcs.utils.access.AbstractJCSWorkerHelper;
+import org.apache.commons.jcs.utils.access.JCSWorker;
+import org.apache.commons.jcs.utils.access.JCSWorkerHelper;
+
import junit.framework.TestCase;
/**
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/date/DateFormatterUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/date/DateFormatterUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/date/DateFormatterUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/date/DateFormatterUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,8 +1,10 @@
-package org.apache.jcs.utils.date;
+package org.apache.commons.jcs.utils.date;
import java.util.Calendar;
import java.util.Date;
+import org.apache.commons.jcs.utils.date.DateFormatter;
+
import junit.framework.TestCase;
/** Simple tests for the date formatter utility. */
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/date/ThreadSafeSimpleDateFormatUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/date/ThreadSafeSimpleDateFormatUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/date/ThreadSafeSimpleDateFormatUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/date/ThreadSafeSimpleDateFormatUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.date;
+package org.apache.commons.jcs.utils.date;
import java.text.DateFormat;
import java.text.ParseException;
@@ -8,9 +8,10 @@ import java.util.Random;
import junit.framework.TestCase;
+import org.apache.commons.jcs.utils.date.ThreadSafeSimpleDateFormat;
+import org.apache.commons.jcs.utils.timing.SleepUtil;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.apache.jcs.utils.timing.SleepUtil;
/**
* Multi-threaded tests for SimpleDateFormat.
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/discovery/MockDiscoveryListener.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/discovery/MockDiscoveryListener.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/discovery/MockDiscoveryListener.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/discovery/MockDiscoveryListener.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.discovery;
+package org.apache.commons.jcs.utils.discovery;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -22,7 +22,8 @@ package org.apache.jcs.utils.discovery;
import java.util.ArrayList;
import java.util.List;
-import org.apache.jcs.utils.discovery.behavior.IDiscoveryListener;
+import org.apache.commons.jcs.utils.discovery.DiscoveredService;
+import org.apache.commons.jcs.utils.discovery.behavior.IDiscoveryListener;
/** Mock listener, for testing. */
public class MockDiscoveryListener
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/discovery/UDPDiscoverySenderUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/discovery/UDPDiscoverySenderUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/discovery/UDPDiscoverySenderUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/discovery/UDPDiscoverySenderUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.discovery;
+package org.apache.commons.jcs.utils.discovery;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -21,6 +21,10 @@ package org.apache.jcs.utils.discovery;
import java.util.ArrayList;
+import org.apache.commons.jcs.utils.discovery.UDPDiscoveryMessage;
+import org.apache.commons.jcs.utils.discovery.UDPDiscoveryReceiver;
+import org.apache.commons.jcs.utils.discovery.UDPDiscoverySender;
+
import junit.framework.TestCase;
/**
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/discovery/UDPDiscoveryServiceUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/discovery/UDPDiscoveryServiceUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/discovery/UDPDiscoveryServiceUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/discovery/UDPDiscoveryServiceUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.discovery;
+package org.apache.commons.jcs.utils.discovery;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -23,7 +23,10 @@ import java.util.ArrayList;
import junit.framework.TestCase;
-import org.apache.jcs.auxiliary.MockCacheEventLogger;
+import org.apache.commons.jcs.auxiliary.MockCacheEventLogger;
+import org.apache.commons.jcs.utils.discovery.DiscoveredService;
+import org.apache.commons.jcs.utils.discovery.UDPDiscoveryAttributes;
+import org.apache.commons.jcs.utils.discovery.UDPDiscoveryService;
/** Unit tests for the service. */
public class UDPDiscoveryServiceUnitTest
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/discovery/UDPDiscoveryUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/discovery/UDPDiscoveryUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/discovery/UDPDiscoveryUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/discovery/UDPDiscoveryUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.discovery;
+package org.apache.commons.jcs.utils.discovery;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -23,8 +23,12 @@ import java.util.ArrayList;
import junit.framework.TestCase;
-import org.apache.jcs.auxiliary.MockCacheEventLogger;
-import org.apache.jcs.utils.timing.SleepUtil;
+import org.apache.commons.jcs.auxiliary.MockCacheEventLogger;
+import org.apache.commons.jcs.utils.discovery.UDPDiscoveryAttributes;
+import org.apache.commons.jcs.utils.discovery.UDPDiscoveryReceiver;
+import org.apache.commons.jcs.utils.discovery.UDPDiscoverySender;
+import org.apache.commons.jcs.utils.discovery.UDPDiscoveryService;
+import org.apache.commons.jcs.utils.timing.SleepUtil;
/**
* Unit tests for discovery
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/key/KeyGeneratorUtilUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/key/KeyGeneratorUtilUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/key/KeyGeneratorUtilUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/key/KeyGeneratorUtilUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.key;
+package org.apache.commons.jcs.utils.key;
import java.text.ParseException;
import java.util.Calendar;
@@ -6,8 +6,9 @@ import java.util.Date;
import junit.framework.TestCase;
-import org.apache.jcs.utils.date.DateFormatter;
-import org.apache.jcs.utils.timing.SleepUtil;
+import org.apache.commons.jcs.utils.date.DateFormatter;
+import org.apache.commons.jcs.utils.key.KeyGeneratorUtil;
+import org.apache.commons.jcs.utils.timing.SleepUtil;
/**
* Tests for the Key Generator Util.
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/net/AddressUtilUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/net/AddressUtilUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/net/AddressUtilUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/net/AddressUtilUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,6 @@
-package org.apache.jcs.utils.net;
+package org.apache.commons.jcs.utils.net;
+
+import org.apache.commons.jcs.utils.net.AddressUtil;
import junit.framework.TestCase;
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/net/HostNameUtilUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/net/HostNameUtilUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/net/HostNameUtilUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/net/HostNameUtilUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,7 +1,9 @@
-package org.apache.jcs.utils.net;
+package org.apache.commons.jcs.utils.net;
import java.net.UnknownHostException;
+import org.apache.commons.jcs.utils.net.HostNameUtil;
+
import junit.framework.TestCase;
/** Tests for the host name util. */
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/serialization/CompressingSerializerUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/serialization/CompressingSerializerUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/serialization/CompressingSerializerUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/serialization/CompressingSerializerUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.serialization;
+package org.apache.commons.jcs.utils.serialization;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -21,6 +21,8 @@ package org.apache.jcs.utils.serializati
import java.io.IOException;
+import org.apache.commons.jcs.utils.serialization.CompressingSerializer;
+
import junit.framework.TestCase;
/**
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/serialization/SerializationConversionUtilUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/serialization/SerializationConversionUtilUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/serialization/SerializationConversionUtilUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/serialization/SerializationConversionUtilUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.serialization;
+package org.apache.commons.jcs.utils.serialization;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -23,12 +23,14 @@ import java.io.IOException;
import junit.framework.TestCase;
-import org.apache.jcs.engine.CacheElement;
-import org.apache.jcs.engine.ElementAttributes;
-import org.apache.jcs.engine.behavior.ICacheElement;
-import org.apache.jcs.engine.behavior.ICacheElementSerialized;
-import org.apache.jcs.engine.behavior.IElementAttributes;
-import org.apache.jcs.engine.behavior.IElementSerializer;
+import org.apache.commons.jcs.engine.CacheElement;
+import org.apache.commons.jcs.engine.ElementAttributes;
+import org.apache.commons.jcs.engine.behavior.ICacheElement;
+import org.apache.commons.jcs.engine.behavior.ICacheElementSerialized;
+import org.apache.commons.jcs.engine.behavior.IElementAttributes;
+import org.apache.commons.jcs.engine.behavior.IElementSerializer;
+import org.apache.commons.jcs.utils.serialization.SerializationConversionUtil;
+import org.apache.commons.jcs.utils.serialization.StandardSerializer;
/**
* Tests the serialization conversion util.
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/serialization/StandardSerializerUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/serialization/StandardSerializerUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/serialization/StandardSerializerUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/serialization/StandardSerializerUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.serialization;
+package org.apache.commons.jcs.utils.serialization;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -19,6 +19,8 @@ package org.apache.jcs.utils.serializati
* under the License.
*/
+import org.apache.commons.jcs.utils.serialization.StandardSerializer;
+
import junit.framework.TestCase;
/**
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/BoundedQueueUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/BoundedQueueUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/BoundedQueueUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/BoundedQueueUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.struct;
+package org.apache.commons.jcs.utils.struct;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -19,6 +19,8 @@ package org.apache.jcs.utils.struct;
* under the License.
*/
+import org.apache.commons.jcs.utils.struct.BoundedQueue;
+
import junit.framework.TestCase;
/**
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/DoubleLinkedListUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/DoubleLinkedListUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/DoubleLinkedListUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/DoubleLinkedListUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,10 +1,12 @@
-package org.apache.jcs.utils.struct;
+package org.apache.commons.jcs.utils.struct;
import java.io.StringWriter;
import junit.framework.TestCase;
-import org.apache.jcs.TestLogConfigurationUtil;
+import org.apache.commons.jcs.TestLogConfigurationUtil;
+import org.apache.commons.jcs.utils.struct.DoubleLinkedList;
+import org.apache.commons.jcs.utils.struct.DoubleLinkedListNode;
/** Unit tests for the double linked list. */
public class DoubleLinkedListUnitTest
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/JCSvsCommonsLRUMapPerformanceTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/JCSvsCommonsLRUMapPerformanceTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/JCSvsCommonsLRUMapPerformanceTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/JCSvsCommonsLRUMapPerformanceTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.struct;
+package org.apache.commons.jcs.utils.struct;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -25,9 +25,10 @@ import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
+import org.apache.commons.jcs.JCSvsHashtablePerformanceTest;
+import org.apache.commons.jcs.utils.struct.LRUMap;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.apache.jcs.JCSvsHashtablePerformanceTest;
/**
* This ensures that the jcs version of the LRU map is as fast as the commons
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/LRUMapConcurrentTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/LRUMapConcurrentTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/LRUMapConcurrentTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/LRUMapConcurrentTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.struct;
+package org.apache.commons.jcs.utils.struct;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -21,6 +21,8 @@ package org.apache.jcs.utils.struct;
import java.util.Iterator;
+import org.apache.commons.jcs.utils.struct.LRUMap;
+
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/LRUMapConcurrentUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/LRUMapConcurrentUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/LRUMapConcurrentUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/LRUMapConcurrentUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.struct;
+package org.apache.commons.jcs.utils.struct;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -21,6 +21,8 @@ package org.apache.jcs.utils.struct;
import java.util.Iterator;
+import org.apache.commons.jcs.utils.struct.LRUMap;
+
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/LRUMapPerformanceTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/LRUMapPerformanceTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/LRUMapPerformanceTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/LRUMapPerformanceTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.struct;
+package org.apache.commons.jcs.utils.struct;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -25,7 +25,8 @@ import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
-import org.apache.jcs.JCSvsHashtablePerformanceTest;
+import org.apache.commons.jcs.JCSvsHashtablePerformanceTest;
+import org.apache.commons.jcs.utils.struct.LRUMap;
/**
* This ensures that the jcs version of the LRU map is as fast as the commons
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/LRUMapUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/LRUMapUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/LRUMapUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/LRUMapUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.struct;
+package org.apache.commons.jcs.utils.struct;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -23,6 +23,8 @@ import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
+import org.apache.commons.jcs.utils.struct.LRUMap;
+
import junit.framework.TestCase;
/**
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/SingleLinkedListUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/SingleLinkedListUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/SingleLinkedListUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/SingleLinkedListUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.struct;
+package org.apache.commons.jcs.utils.struct;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -19,6 +19,8 @@ package org.apache.jcs.utils.struct;
* under the License.
*/
+import org.apache.commons.jcs.utils.struct.SingleLinkedList;
+
import junit.framework.TestCase;
/**
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/SortedPrefArrayUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/SortedPrefArrayUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/SortedPrefArrayUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/SortedPrefArrayUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.struct;
+package org.apache.commons.jcs.utils.struct;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -19,6 +19,8 @@ package org.apache.jcs.utils.struct;
* under the License.
*/
+import org.apache.commons.jcs.utils.struct.SortedPreferentialArray;
+
import junit.framework.TestCase;
/**
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/threadpool/ThreadPoolManagerUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/threadpool/ThreadPoolManagerUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/threadpool/ThreadPoolManagerUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/threadpool/ThreadPoolManagerUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.threadpool;
+package org.apache.commons.jcs.utils.threadpool;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -24,8 +24,10 @@ import java.util.concurrent.ThreadPoolEx
import junit.framework.TestCase;
-import org.apache.jcs.utils.props.PropertyLoader;
-import org.apache.jcs.utils.threadpool.PoolConfiguration.WhenBlockedPolicy;
+import org.apache.commons.jcs.utils.props.PropertyLoader;
+import org.apache.commons.jcs.utils.threadpool.PoolConfiguration;
+import org.apache.commons.jcs.utils.threadpool.ThreadPoolManager;
+import org.apache.commons.jcs.utils.threadpool.PoolConfiguration.WhenBlockedPolicy;
/**
* Verify that the manager can create pools as intended by the default and
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/threadpool/ThreadPoolUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/threadpool/ThreadPoolUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/threadpool/ThreadPoolUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/threadpool/ThreadPoolUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.threadpool;
+package org.apache.commons.jcs.utils.threadpool;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -21,6 +21,8 @@ package org.apache.jcs.utils.threadpool;
import java.util.concurrent.ThreadPoolExecutor;
+import org.apache.commons.jcs.utils.threadpool.ThreadPoolManager;
+
import junit.framework.TestCase;
/**
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/zip/CompressionUtilUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/zip/CompressionUtilUnitTest.java?rev=1517295&r1=1479115&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/zip/CompressionUtilUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/zip/CompressionUtilUnitTest.java Sun Aug 25 14:17:11 2013
@@ -1,4 +1,4 @@
-package org.apache.jcs.utils.zip;
+package org.apache.commons.jcs.utils.zip;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -23,6 +23,8 @@ import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.zip.GZIPOutputStream;
+import org.apache.commons.jcs.utils.zip.CompressionUtil;
+
import junit.framework.TestCase;
/** Unit tests for the compression util */
Modified: commons/proper/jcs/trunk/xdocs/BDBJEDiskCache.ccf
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/xdocs/BDBJEDiskCache.ccf?rev=1517295&r1=1517294&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/xdocs/BDBJEDiskCache.ccf (original)
+++ commons/proper/jcs/trunk/xdocs/BDBJEDiskCache.ccf Sun Aug 25 14:17:11 2013
@@ -58,22 +58,22 @@
# #############################################################
# #### Default Region Configuration
jcs.default=BDBDC
-jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
+jcs.default.cacheattributes=org.apache.commons.jcs.engine.CompositeCacheAttributes
jcs.default.cacheattributes.MaxObjects=100
-jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
+jcs.default.cacheattributes.MemoryCacheName=org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
# #############################################################
# #### CACHE REGIONS
jcs.region.myRegion1=BDBDC
-jcs.region.myRegion1.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
+jcs.region.myRegion1.cacheattributes=org.apache.commons.jcs.engine.CompositeCacheAttributes
jcs.region.myRegion1.cacheattributes.MaxObjects=1000
-jcs.region.myRegion1.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
+jcs.region.myRegion1.cacheattributes.MemoryCacheName=org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
# #############################################################
# #### AUXILIARY CACHES
# Berkeley DB JE
-jcs.auxiliary.BDBDC=org.apache.jcs.auxiliary.disk.bdbje.BDBJECacheFactory
-jcs.auxiliary.BDBDC.attributes=org.apache.jcs.auxiliary.disk.bdbje.BDBJECacheAttributes
+jcs.auxiliary.BDBDC=org.apache.commons.jcs.auxiliary.disk.bdbje.BDBJECacheFactory
+jcs.auxiliary.BDBDC.attributes=org.apache.commons.jcs.auxiliary.disk.bdbje.BDBJECacheAttributes
jcs.auxiliary.BDBDC.attributes.DiskPath=target/
jcs.auxiliary.BDBDC.attributes.MaxPurgatorySize=100000
]]></source>
Modified: commons/proper/jcs/trunk/xdocs/BasicJCSConfiguration.xml
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/xdocs/BasicJCSConfiguration.xml?rev=1517295&r1=1517294&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/xdocs/BasicJCSConfiguration.xml (original)
+++ commons/proper/jcs/trunk/xdocs/BasicJCSConfiguration.xml Sun Aug 25 14:17:11 2013
@@ -46,10 +46,10 @@
jcs.default=
jcs.default.cacheattributes=
- org.apache.jcs.engine.CompositeCacheAttributes
+ org.apache.commons.jcs.engine.CompositeCacheAttributes
jcs.default.cacheattributes.MaxObjects=1000
jcs.default.cacheattributes.MemoryCacheName=
- org.apache.jcs.engine.memory.lru.LRUMemoryCache
+ org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
]]></source>
<p>
If you want to add memory shrinking then you can add these
@@ -60,7 +60,7 @@ jcs.default.cacheattributes.UseMemoryShr
jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
jcs.default.cacheattributes.MaxSpoolPerRun=500
-jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
+jcs.default.elementattributes=org.apache.commons.jcs.engine.ElementAttributes
jcs.default.elementattributes.IsEternal=false
]]></source>
<p>
@@ -72,9 +72,9 @@ jcs.default.elementattributes.IsEternal=
</p>
<source><![CDATA[
jcs.auxiliary.DC=
- org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
+ org.apache.commons.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
jcs.auxiliary.DC.attributes=
- org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes
+ org.apache.commons.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes
jcs.auxiliary.DC.attributes.DiskPath=g:/dev/jcs/raf
]]></source>
<p>
@@ -90,15 +90,15 @@ jcs.default=DC
<source><![CDATA[
jcs.region.testCache1=DC
jcs.region.testCache1.cacheattributes=
- org.apache.jcs.engine.CompositeCacheAttributes
+ org.apache.commons.jcs.engine.CompositeCacheAttributes
jcs.region.testCache1.cacheattributes.MaxObjects=1000
jcs.region.testCache1.cacheattributes.MemoryCacheName=
- org.apache.jcs.engine.memory.lru.LRUMemoryCache
+ org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.testCache1.cacheattributes.UseMemoryShrinker=true
jcs.region.testCache1.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.region.testCache1.cacheattributes.ShrinkerIntervalSeconds=60
jcs.region.testCache1.cacheattributes.MaxSpoolPerRun=500
-jcs.region.testCache1.elementattributes=org.apache.jcs.engine.ElementAttributes
+jcs.region.testCache1.elementattributes=org.apache.commons.jcs.engine.ElementAttributes
jcs.region.testCache1.elementattributes.IsEternal=false
]]></source>
@@ -110,9 +110,9 @@ jcs.region.testCache1.elementattributes.
</p>
<source><![CDATA[
jcs.auxiliary.LTCP=
- org.apache.jcs.auxiliary.lateral.LateralCacheFactory
+ org.apache.commons.jcs.auxiliary.lateral.LateralCacheFactory
jcs.auxiliary.LTCP.attributes=
- org.apache.jcs.auxiliary.lateral.LateralCacheAttributes
+ org.apache.commons.jcs.auxiliary.lateral.LateralCacheAttributes
jcs.auxiliary.LTCP.attributes.TransmissionTypeName=TCP
jcs.auxiliary.LTCP.attributes.TcpServers=localhost:1111
jcs.auxiliary.LTCP.attributes.TcpListenerPort=1110
@@ -150,39 +150,39 @@ jcs.region.testCache1=DC,LTCP
jcs.default=DC,LTCP
jcs.default.cacheattributes=
- org.apache.jcs.engine.CompositeCacheAttributes
+ org.apache.commons.jcs.engine.CompositeCacheAttributes
jcs.default.cacheattributes.MaxObjects=1000
jcs.default.cacheattributes.MemoryCacheName=
- org.apache.jcs.engine.memory.lru.LRUMemoryCache
+ org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
# PRE-DEFINED CACHE REGIONS
jcs.region.testCache1=DC,LTCP
jcs.region.testCache1.cacheattributes=
- org.apache.jcs.engine.CompositeCacheAttributes
+ org.apache.commons.jcs.engine.CompositeCacheAttributes
jcs.region.testCache1.cacheattributes.MaxObjects=1000
jcs.region.testCache1.cacheattributes.MemoryCacheName=
- org.apache.jcs.engine.memory.lru.LRUMemoryCache
+ org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.testCache1.cacheattributes.UseMemoryShrinker=true
jcs.region.testCache1.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.region.testCache1.cacheattributes.ShrinkerIntervalSeconds=60
jcs.region.testCache1.cacheattributes.MaxSpoolPerRun=500
-jcs.region.testCache1.elementattributes=org.apache.jcs.engine.ElementAttributes
+jcs.region.testCache1.elementattributes=org.apache.commons.jcs.engine.ElementAttributes
jcs.region.testCache1.elementattributes.IsEternal=false
# AVAILABLE AUXILIARY CACHES
jcs.auxiliary.DC=
- org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
+ org.apache.commons.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
jcs.auxiliary.DC.attributes=
- org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes
+ org.apache.commons.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes
jcs.auxiliary.DC.attributes.DiskPath=g:/dev/jcs/raf
jcs.auxiliary.DC.attributes.maxKeySize=100000
jcs.auxiliary.LTCP=
- org.apache.jcs.auxiliary.lateral.LateralCacheFactory
+ org.apache.commons.jcs.auxiliary.lateral.LateralCacheFactory
jcs.auxiliary.LTCP.attributes=
- org.apache.jcs.auxiliary.lateral.LateralCacheAttributes
+ org.apache.commons.jcs.auxiliary.lateral.LateralCacheAttributes
jcs.auxiliary.LTCP.attributes.TransmissionTypeName=TCP
jcs.auxiliary.LTCP.attributes.TcpServers=localhost:1111
jcs.auxiliary.LTCP.attributes.TcpListenerPort=1110
Modified: commons/proper/jcs/trunk/xdocs/BlockDiskCache.xml
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/xdocs/BlockDiskCache.xml?rev=1517295&r1=1517294&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/xdocs/BlockDiskCache.xml (original)
+++ commons/proper/jcs/trunk/xdocs/BlockDiskCache.xml Sun Aug 25 14:17:11 2013
@@ -50,16 +50,16 @@
##### DEFAULT REGION ########################################
jcs.default=blockDiskCache
-jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
+jcs.default.cacheattributes=org.apache.commons.jcs.engine.CompositeCacheAttributes
jcs.default.cacheattributes.MaxObjects=0
-jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
+jcs.default.cacheattributes.MemoryCacheName=org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
##############################################################
##### AUXILIARY CACHES ######################################
# Block Disk Cache
-jcs.auxiliary.blockDiskCache=org.apache.jcs.auxiliary.disk.block.BlockDiskCacheFactory
-jcs.auxiliary.blockDiskCache.attributes=org.apache.jcs.auxiliary.disk.block.BlockDiskCacheAttributes
+jcs.auxiliary.blockDiskCache=org.apache.commons.jcs.auxiliary.disk.block.BlockDiskCacheFactory
+jcs.auxiliary.blockDiskCache.attributes=org.apache.commons.jcs.auxiliary.disk.block.BlockDiskCacheAttributes
jcs.auxiliary.blockDiskCache.attributes.DiskPath=target/test-sandbox/block-disk-cache-huge
jcs.auxiliary.blockDiskCache.attributes.MaxPurgatorySize=300000
jcs.auxiliary.blockDiskCache.attributes.MaxKeySize=1000000
Modified: commons/proper/jcs/trunk/xdocs/CacheEventLogging.xml
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/xdocs/CacheEventLogging.xml?rev=1517295&r1=1517294&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/xdocs/CacheEventLogging.xml (original)
+++ commons/proper/jcs/trunk/xdocs/CacheEventLogging.xml Sun Aug 25 14:17:11 2013
@@ -28,7 +28,7 @@
and critical errors to the same logger.</p>
<p>
To inject a custom event logger, you simply need to implement the
- <code>org.apache.jcs.engine.logging.behavior.ICacheEventLogger
+ <code>org.apache.commons.jcs.engine.logging.behavior.ICacheEventLogger
</code>
interface and add a couple of lines to the cache.ccf file.
</p>
@@ -38,8 +38,8 @@
could do the following:</p>
<source><![CDATA[
. . .
- jcs.auxiliary.RC=org.apache.jcs.auxiliary.remote.RemoteCacheFactory
-jcs.auxiliary.RC.attributes=org.apache.jcs.auxiliary.remote.RemoteCacheAttributes
+ jcs.auxiliary.RC=org.apache.commons.jcs.auxiliary.remote.RemoteCacheFactory
+jcs.auxiliary.RC.attributes=org.apache.commons.jcs.auxiliary.remote.RemoteCacheAttributes
jcs.auxiliary.RC.attributes.FailoverServers=localhost:1101,localhost:1102
jcs.auxiliary.RC.attributes.LocalPort=1201
jcs.auxiliary.RC.attributes.RemoveUponRemotePut=false
@@ -49,7 +49,7 @@ jcs.auxiliary.RC.attributes.RemoveUponRe
jcs.auxiliary.RC.attributes.GetTimeoutMillis=500
jcs.auxiliary.RC.attributes.ThreadPoolName=remote_cache_client
jcs.auxiliary.RC.attributes.GetOnly=false
-jcs.auxiliary.RC.cacheeventlogger=org.apache.jcs.engine.logging.CacheEventLoggerDebugLogger
+jcs.auxiliary.RC.cacheeventlogger=org.apache.commons.jcs.engine.logging.CacheEventLoggerDebugLogger
jcs.auxiliary.RC.cacheeventlogger.attributes.logCategoryName=test.RCCEventLogCategory
. . .
]]></source>
Modified: commons/proper/jcs/trunk/xdocs/ElementAttributes.xml
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/xdocs/ElementAttributes.xml?rev=1517295&r1=1517294&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/xdocs/ElementAttributes.xml (original)
+++ commons/proper/jcs/trunk/xdocs/ElementAttributes.xml Sun Aug 25 14:17:11 2013
@@ -49,14 +49,14 @@
jcs.default=DC
jcs.default.cacheattributes=
- org.apache.jcs.engine.CompositeCacheAttributes
+ org.apache.commons.jcs.engine.CompositeCacheAttributes
jcs.default.cacheattributes.MaxObjects=1000
jcs.default.cacheattributes.MemoryCacheName=
- org.apache.jcs.engine.memory.lru.LRUMemoryCache
+ org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
jcs.default.cacheattributes.UseMemoryShrinker=true
jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
-jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
+jcs.default.elementattributes=org.apache.commons.jcs.engine.ElementAttributes
jcs.default.elementattributes.IsEternal=false
jcs.default.elementattributes.MaxLifeSeconds=700
jcs.default.elementattributes.IdleTime=1800
Modified: commons/proper/jcs/trunk/xdocs/ElementEventHandling.xml
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/xdocs/ElementEventHandling.xml?rev=1517295&r1=1517294&r2=1517295&view=diff
==============================================================================
--- commons/proper/jcs/trunk/xdocs/ElementEventHandling.xml (original)
+++ commons/proper/jcs/trunk/xdocs/ElementEventHandling.xml Sun Aug 25 14:17:11 2013
@@ -48,7 +48,7 @@
<p>
The various events that you can handle have all been
assigned integer codes. The codes are defined in the
- org.apache.jcs.engine.control.event.behavior.IElementEventConstants
+ org.apache.commons.jcs.engine.control.event.behavior.IElementEventConstants
interface. The events are named descriptively and
include:
</p>
@@ -112,7 +112,7 @@
</table>
<p>
To create an event handler you must implement the
- org.apache.jcs.engine.control.event.behavior.IElementEventHandler
+ org.apache.commons.jcs.engine.control.event.behavior.IElementEventHandler
interface. This interface contains only one method:
</p>
<source>