jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexparvule...@apache.org
Subject svn commit: r1579553 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/RepositoryManager.java
Date Thu, 20 Mar 2014 07:44:24 GMT
Author: alexparvulescu
Date: Thu Mar 20 07:44:23 2014
New Revision: 1579553

URL: http://svn.apache.org/r1579553
Log:
OAK-1572 Add checkpoint operation to the filestore jmx api
 - fixed copy/paste error, thanks to Michael Duerig for spotting

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/RepositoryManager.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/RepositoryManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/RepositoryManager.java?rev=1579553&r1=1579552&r2=1579553&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/RepositoryManager.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/RepositoryManager.java
Thu Mar 20 07:44:23 2014
@@ -159,12 +159,12 @@ public class RepositoryManager implement
     }
 
     @Override
-    public String checkpoint(long lifetime) {
+    public String checkpoint(final long lifetime) {
         return execute(FileStoreBackupRestoreMBean.class, new Function<FileStoreBackupRestoreMBean,
String>() {
             @Nullable
             @Override
             public String apply(FileStoreBackupRestoreMBean backupService) {
-                return backupService.getRestoreStatus();
+                return backupService.checkpoint(lifetime);
             }
         });
     }



Mime
View raw message