Remove unused field and method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/jcs/trunk@1776743 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/memory/AbstractMemoryCache.java b/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/memory/AbstractMemoryCache.java
index 87929fa..b357bbc 100644
--- a/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/memory/AbstractMemoryCache.java
+++ b/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/memory/AbstractMemoryCache.java
@@ -28,7 +28,6 @@
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
-import org.apache.commons.jcs.engine.CacheStatus;
import org.apache.commons.jcs.engine.behavior.ICacheElement;
import org.apache.commons.jcs.engine.behavior.ICompositeCacheAttributes;
import org.apache.commons.jcs.engine.control.CompositeCache;
@@ -43,9 +42,6 @@
/**
* This base includes some common code for memory caches.
- * <p>
- * This keeps a static reference to a memory shrinker clock daemon. If this region is configured to
- * use the shrinker, the clock daemon will be setup to run the shrinker on this region.
*/
public abstract class AbstractMemoryCache<K, V>
implements IMemoryCache<K, V>
@@ -59,9 +55,6 @@
/** The cache region this store is associated with */
private CompositeCache<K, V> cache;
- /** status */
- private CacheStatus status;
-
/** How many to spool at a time. */
protected int chunkSize;
@@ -96,8 +89,6 @@
this.cache = hub;
this.map = createMap();
-
- this.status = CacheStatus.ALIVE;
}
/**
@@ -270,16 +261,6 @@
}
/**
- * Returns the cache status.
- * <p>
- * @return The status value
- */
- public CacheStatus getStatus()
- {
- return this.status;
- }
-
- /**
* Returns the cache (aka "region") name.
* <p>
* @return The cacheName value