Index: oak-mk-api/src/main/java/org/apache/jackrabbit/mk/api/MicroKernel.java IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>MacRoman =================================================================== --- oak-mk-api/src/main/java/org/apache/jackrabbit/mk/api/MicroKernel.java (revision 1354857) +++ oak-mk-api/src/main/java/org/apache/jackrabbit/mk/api/MicroKernel.java (revision ) @@ -48,11 +48,20 @@ *

* The Retention Policy for Revisions: *

- * TODO specify retention policy for old revisions, i.e. minimal guaranteed retention period (OAK-114) - *

- *

+ * A MicroKernel API consumer can expect that a revision id returned by + * {@link #getHeadRevision()} + *

+ * (valid meaning the respective revision is guaranteed to be available + * for the specified period). + *

+ * MicroKernel implementations however are free to support longer retention periods. + *

* The Retention Policy for Binaries: - *

*

* The MicroKernel implementation is free to remove binaries if both of the * following conditions are met: @@ -72,7 +81,10 @@ //---------------------------------------------------------< REVISION ops > /** - * Return the id of the current head revision. + * Returns the id of the current head revision. + *

+ * The respective revision is guaranteed to be available for at least + * 10 minutes. * * @return the id of the head revision * @throws MicroKernelException if an error occurs