You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-dev@jakarta.apache.org by hc...@apache.org on 2005/02/01 11:32:19 UTC
cvs commit: jakarta-turbine-jcs/sandbox/yajcache/src/org/apache/jcs/yajcache/core ICache.java
hchar 2005/02/01 02:32:19
Modified: sandbox/yajcache/src/org/apache/jcs/yajcache/core
ICache.java
Log:
cache knows it's own type
Revision Changes Path
1.5 +3 -0 jakarta-turbine-jcs/sandbox/yajcache/src/org/apache/jcs/yajcache/core/ICache.java
Index: ICache.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-jcs/sandbox/yajcache/src/org/apache/jcs/yajcache/core/ICache.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ICache.java 29 Jan 2005 12:37:00 -0000 1.4
+++ ICache.java 1 Feb 2005 10:32:18 -0000 1.5
@@ -43,4 +43,7 @@
+ " by this interface."
)
public V get(String key);
+ /** Returns the cache type. */
+ @ThreadSafety(ThreadSafetyType.IMMUTABLE)
+ public @NonNullable CacheType getCacheType();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-jcs-dev-help@jakarta.apache.org