Author: tv
Date: Sat Dec 31 13:46:39 2016
New Revision: 1776743
URL: http://svn.apache.org/viewvc?rev=1776743&view=rev
Log:
Remove unused field and method
Modified:
commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/memory/AbstractMemoryCache.java
Modified:
commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/memory/AbstractMemoryCache.java
URL:
http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/memory/AbstractMemoryCache.java?rev=1776743&r1=1776742&r2=1776743&view=diff
==============================================================================
---
commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/memory/AbstractMemoryCache.java
(original)
+++
commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/memory/AbstractMemoryCache.java
Sat Dec 31 13:46:39 2016
@@ -28,7 +28,6 @@ import java.util.concurrent.atomic.Atomi
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 @@ import org.apache.commons.logging.LogFac
/**
* 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 @@ public abstract class AbstractMemoryCach
/** 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 @@ public abstract class AbstractMemoryCach
this.cache = hub;
this.map = createMap();
-
- this.status = CacheStatus.ALIVE;
}
/**
@@ -270,16 +261,6 @@ public abstract class AbstractMemoryCach
}
/**
- * 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