jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1165618 - /jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/WorkspaceManager.java
Date Tue, 06 Sep 2011 12:00:01 GMT
Author: mduerig
Date: Tue Sep  6 12:00:01 2011
New Revision: 1165618

URL: http://svn.apache.org/viewvc?rev=1165618&view=rev
Log:
Microkernel based Jackrabbit prototype (WIP)
add log statements

Modified:
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/WorkspaceManager.java

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/WorkspaceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/WorkspaceManager.java?rev=1165618&r1=1165617&r2=1165618&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/WorkspaceManager.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/WorkspaceManager.java
Tue Sep  6 12:00:01 2011
@@ -1062,6 +1062,7 @@ public class WorkspaceManager implements
         public ChangePolling(ExecutorService changePollingExecutor) {
             this.changePollingExecutor = changePollingExecutor;
             result = changePollingExecutor.submit(this);
+            log.debug("Started change polling instance: {}", this);
         }
 
         @Override
@@ -1089,6 +1090,9 @@ public class WorkspaceManager implements
                     if (result != null) {
                         result = changePollingExecutor.submit(this);
                     }
+                    else {
+                        log.debug("Cancelling change polling instance: {}", this);
+                    }
                 }
             } catch (UnsupportedRepositoryOperationException e) {
                 log.error("SPI implementation does not support observation: " + e);
@@ -1107,6 +1111,7 @@ public class WorkspaceManager implements
             }
 
             if (result != null) {
+                log.debug("Cancelling change polling instance: {}", this);
                 result.cancel(true);
             }
         }



Mime
View raw message