You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by bl...@apache.org on 2003/05/20 23:03:40 UTC
cvs commit: avalon-excalibur/store/src/xdocs mrustore.xml
bloritsch 2003/05/20 14:03:40
Modified: store build.xml
store/src/java/org/apache/excalibur/store/impl
MRUMemoryStore.java MemoryStore.java
StoreJanitorImpl.java
store/src/xdocs mrustore.xml
Log:
add metainfo
Revision Changes Path
1.21 +11 -0 avalon-excalibur/store/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/avalon-excalibur/store/build.xml,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- build.xml 19 May 2003 16:53:03 -0000 1.20
+++ build.xml 20 May 2003 21:03:39 -0000 1.21
@@ -370,4 +370,15 @@
<delete dir="${dist.base}" />
</target>
+ <!-- ===================================================================== -->
+ <!-- Fix Whitespace problems in source code -->
+ <!-- ===================================================================== -->
+ <target name="fixCRLF">
+ <fixcrlf srcdir="."
+ includes="**/*.java,**/*.xml,*.xml,*.properties,**/*.properties"
+ eol="lf"
+ tab="remove"
+ tablength="4"
+ eof="remove"/>
+ </target>
</project>
1.12 +8 -3 avalon-excalibur/store/src/java/org/apache/excalibur/store/impl/MRUMemoryStore.java
Index: MRUMemoryStore.java
===================================================================
RCS file: /home/cvs/avalon-excalibur/store/src/java/org/apache/excalibur/store/impl/MRUMemoryStore.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- MRUMemoryStore.java 22 Mar 2003 12:46:55 -0000 1.11
+++ MRUMemoryStore.java 20 May 2003 21:03:39 -0000 1.12
@@ -71,6 +71,11 @@
* This class provides a cache algorithm for the requested documents.
* It combines a HashMap and a LinkedList to create a so called MRU
* (Most Recently Used) cache.
+ *
+ * @avalon.component
+ * @avalon.service type=Store
+ * @x-avalon.info name=mru-store
+ * @x-avalon.lifestyle type=singleton
*
* @author <a href="mailto:g-froehlich@gmx.de">Gerhard Froehlich</a>
* @author <a href="mailto:dims@yahoo.com">Davanum Srinivas</a>
@@ -93,8 +98,8 @@
* Get components of the ComponentLocator
*
* @param manager The ComponentLocator
- * @avalon.service interface="Store"
- * @avalon.service interface="StoreJanitor"
+ * @avalon.dependency type=org.apache.excalibur.store.Store
+ * @avalon.dependency type=org.apache.excalibur.store.StoreJanitor
*/
public void service( ServiceManager manager )
throws ServiceException
1.7 +6 -1 avalon-excalibur/store/src/java/org/apache/excalibur/store/impl/MemoryStore.java
Index: MemoryStore.java
===================================================================
RCS file: /home/cvs/avalon-excalibur/store/src/java/org/apache/excalibur/store/impl/MemoryStore.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- MemoryStore.java 22 Mar 2003 12:46:55 -0000 1.6
+++ MemoryStore.java 20 May 2003 21:03:39 -0000 1.7
@@ -57,6 +57,11 @@
import org.apache.excalibur.store.Store;
/**
+ *
+ * @avalon.component
+ * @avalon.service type=Store
+ * @x-avalon.info name=mem-store
+ * @x-avalon.lifestyle type=singleton
*
* @author <a href="mailto:scoobie@betaversion.org">Federico Barbieri</a>
* (Betaversion Productions)
1.7 +6 -1 avalon-excalibur/store/src/java/org/apache/excalibur/store/impl/StoreJanitorImpl.java
Index: StoreJanitorImpl.java
===================================================================
RCS file: /home/cvs/avalon-excalibur/store/src/java/org/apache/excalibur/store/impl/StoreJanitorImpl.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- StoreJanitorImpl.java 22 Mar 2003 12:46:55 -0000 1.6
+++ StoreJanitorImpl.java 20 May 2003 21:03:39 -0000 1.7
@@ -65,6 +65,11 @@
* This class is a implentation of a StoreJanitor. Store classes
* can register to the StoreJanitor. When memory is too low,
* the StoreJanitor frees the registered caches until memory is normal.
+ *
+ * @avalon.component
+ * @avalon.service type=StoreJanitor
+ * @x-avalon.info name=store-janitor
+ * @x-avalon.lifestyle type=singleton
*
* @author <a href="mailto:cs@ffzj0ia9.bank.dresdner.net">Christian Schmitt</a>
* @author <a href="mailto:g-froehlich@gmx.de">Gerhard Froehlich</a>
1.2 +1 -1 avalon-excalibur/store/src/xdocs/mrustore.xml
Index: mrustore.xml
===================================================================
RCS file: /home/cvs/avalon-excalibur/store/src/xdocs/mrustore.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mrustore.xml 16 May 2003 13:14:45 -0000 1.1
+++ mrustore.xml 20 May 2003 21:03:40 -0000 1.2
@@ -75,7 +75,7 @@
if the MRUMemoryStore has reached his maximum object limit, or the JVM
memory consumption is over the heap size limit. See StoreJanitor user
docs for more information.</li>
- </ol>
+ </ol>
</s1>
</body>
</document>
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org