You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by su...@apache.org on 2012/06/22 13:54:50 UTC
svn commit: r1352855 - in
/incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi:
pom.xml
src/main/java/org/apache/stanbol/contenthub/servicesapi/store/Store.java
Author: suat
Date: Fri Jun 22 11:54:49 2012
New Revision: 1352855
URL: http://svn.apache.org/viewvc?rev=1352855&view=rev
Log:
(Missing files)
STANBOL-498:
-unit tests for file store
-RESTful interfaces are updated according to new storage functionality. Content items are submitted under directly to the store endpoint (/store) without giving a specific index name
-revision retrieval policy updated such that all changes for revisions are returned as a whole
-added option for specifying mimetype during deserialization
Modified:
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/pom.xml
incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/store/Store.java
Modified: incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/pom.xml?rev=1352855&r1=1352854&r2=1352855&view=diff
==============================================================================
--- incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/pom.xml (original)
+++ incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/pom.xml Fri Jun 22 11:54:49 2012
@@ -45,7 +45,7 @@
<dependency>
<groupId>org.apache.stanbol</groupId>
<artifactId>org.apache.stanbol.entityhub.servicesapi</artifactId>
- <version>0.10.0-incubating-SNAPSHOT</version>
+ <version>0.10.1-incubating-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.solr</groupId>
Modified: incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/store/Store.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/store/Store.java?rev=1352855&r1=1352854&r2=1352855&view=diff
==============================================================================
--- incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/store/Store.java (original)
+++ incubator/stanbol/branches/contenthub-two-layered-structure/contenthub/servicesapi/src/main/java/org/apache/stanbol/contenthub/servicesapi/store/Store.java Fri Jun 22 11:54:49 2012
@@ -39,15 +39,13 @@ public interface Store {
/**
* Requests the next <code>batchSize</code> changes starting from <code>revision</code>. If there are no
- * more revisions that a {@link ChangeSet} with an empty {@link ChangeSet#changed()} set. Even though
- * there are more changes than the given <code>batchSize</code>, they will not be included in the results.
- * So, clients are expected to retrieve the changes iteratively by providing the suitable
- * <code>offset</code> value.
+ * more revisions that a {@link ChangeSet} with an empty {@link ChangeSet#changed()} set. There can be
+ * more changes in the results than the given <code>batchSize</code> not to return a subset of changes
+ * regarding a specific revision. For instance, if the batch size is 5, given revision is 9 and there 15
+ * changes regarding revision 10. As a result, there will be 10 changed items in the returned change set.
*
* @param revision
* Starting revision number for the returned {@link ChangeSet}
- * @param offset
- * Starting number of the changes as of the given <code>revision</code>.
* @param batchSize
* Maximum number of changes to be returned
* @return the {@link ChangeSet} with a maximum of <code>batchSize</code> changes
@@ -55,5 +53,5 @@ public interface Store {
* On any error while accessing the store.
* @see ChangeSet
*/
- ChangeSet changes(long revision, int offset, int batchSize) throws StoreException;
+ ChangeSet changes(long revision, int batchSize) throws StoreException;
}