[jboss-cvs] JBossCache/src/org/jboss/cache ...
Brian Stansberry
brian.stansberry at jboss.com
Wed May 23 14:17:21 EDT 2007
User: bstansberry
Date: 07/05/23 14:17:21
Modified: src/org/jboss/cache Cache.java
Log:
[JBCACHE-928] Expose lifecycle state
Revision Changes Path
1.28 +7 -0 JBossCache/src/org/jboss/cache/Cache.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Cache.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/Cache.java,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- Cache.java 16 Mar 2007 01:11:58 -0000 1.27
+++ Cache.java 23 May 2007 18:17:21 -0000 1.28
@@ -271,6 +271,13 @@
void destroy();
/**
+ * Gets where the cache currently is its lifecycle transitions.
+ *
+ * @return the CacheStatus. Will not return <code>null</code>.
+ */
+ CacheStatus getCacheStatus();
+
+ /**
* @return the current invocation context for the current invocation and cache instance.
* @see org.jboss.cache.InvocationContext
*/
More information about the jboss-cvs-commits
mailing list