[jboss-cvs] system2/src/main/org/jboss/system/server/profileservice ...

Scott Stark scott.stark at jboss.com
Fri Jul 14 19:03:20 EDT 2006


  User: starksm 
  Date: 06/07/14 19:03:20

  Modified:    src/main/org/jboss/system/server/profileservice 
                        VFSDeploymentScannerImpl.java
  Log:
  Implement getScanCount
  
  Revision  Changes    Path
  1.2       +12 -2     system2/src/main/org/jboss/system/server/profileservice/VFSDeploymentScannerImpl.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: VFSDeploymentScannerImpl.java
  ===================================================================
  RCS file: /cvsroot/jboss/system2/src/main/org/jboss/system/server/profileservice/VFSDeploymentScannerImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- VFSDeploymentScannerImpl.java	10 Jul 2006 17:05:16 -0000	1.1
  +++ VFSDeploymentScannerImpl.java	14 Jul 2006 23:03:20 -0000	1.2
  @@ -86,6 +86,7 @@
   
      /** Whether to search for files inside directories whose names containing no dots */
      private boolean doRecursiveSearch = true;
  +   private int scanCount;
      
      /** A set of scanned VirtualFiles which have been deployed */
      private Set deployedSet = Collections.synchronizedSet(new HashSet());
  @@ -176,6 +177,15 @@
         
      }
   
  +   public synchronized int getScanCount()
  +   {
  +      return scanCount;
  +   }
  +   public synchronized void resetScanCount()
  +   {
  +      this.scanCount = 0;
  +   }
  +
       /**
       * @throws URISyntaxException
       * @throws IOException
  
  
  



More information about the jboss-cvs-commits mailing list