[jbosscache-commits] JBoss Cache SVN: r7815 - core/branches/flat/src/main/java/org/horizon/loader.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Mon Mar 2 04:32:32 EST 2009


Author: manik.surtani at jboss.com
Date: 2009-03-02 04:32:32 -0500 (Mon, 02 Mar 2009)
New Revision: 7815

Modified:
   core/branches/flat/src/main/java/org/horizon/loader/CacheStore.java
Log:
Javadocs

Modified: core/branches/flat/src/main/java/org/horizon/loader/CacheStore.java
===================================================================
--- core/branches/flat/src/main/java/org/horizon/loader/CacheStore.java	2009-03-02 00:43:57 UTC (rev 7814)
+++ core/branches/flat/src/main/java/org/horizon/loader/CacheStore.java	2009-03-02 09:32:32 UTC (rev 7815)
@@ -37,6 +37,9 @@
     * markers or some other mechanism to prevent the store from reading too much information should be employed when
     * writing to the stream in {@link #fromStream(java.io.ObjectInput)} to prevent data corruption.
     * <p/>
+    * It can be assumed that the stream passed in already performs buffering such that the cache store implementation
+    * doesn't have to.
+    * <p/>
     *
     * @param inputStream stream to read from
     * @throws CacheLoaderException in the event of problems writing to the store
@@ -57,6 +60,10 @@
     * markers or some other mechanism to prevent the store from reading too much information in {@link
     * #fromStream(java.io.ObjectInput)} should be employed, to prevent data corruption.
     * <p/>
+    * <p/>
+    * It can be assumed that the stream passed in already performs buffering such that the cache store implementation
+    * doesn't have to.
+    * <p/>
     *
     * @param outputStream stream to write to
     * @throws CacheLoaderException in the event of problems reading from the store




More information about the jbosscache-commits mailing list