Author: alexoree
Date: Mon May  6 23:12:37 2013
New Revision: 1479715

URL: http://svn.apache.org/r1479715
Log:
Documenting the service counter class
Converted all APIs to report processing time in milliseconds, no longer 
nanoseconds

Modified:
    
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDICustodyTransferImpl.java
    
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIInquiryImpl.java
    
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIPublicationImpl.java
    
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIReplicationImpl.java
    
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISecurityImpl.java
    
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIServiceCounter.java
    
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionImpl.java
    
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIValueSetCachingImpl.java
    
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIValueSetValidationImpl.java

Modified: 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDICustodyTransferImpl.java
URL: 
http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDICustodyTransferImpl.java?rev=1479715&r1=1479714&r2=1479715&view=diff
==============================================================================
--- 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDICustodyTransferImpl.java
 (original)
+++ 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDICustodyTransferImpl.java
 Mon May  6 23:12:37 2013
@@ -76,7 +76,7 @@ public class UDDICustodyTransferImpl ext
        @SuppressWarnings("unchecked")
        public void discardTransferToken(DiscardTransferToken body)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
 
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -122,7 +122,7 @@ public class UDDICustodyTransferImpl ext
                        }
        
                        tx.commit();
-                       long procTime = System.nanoTime() - startTime;
+                       long procTime = System.currentTimeMillis() - startTime;
                        
serviceCounter.update(CustodyTransferQuery.DISCARD_TRANSFERTOKEN, 
                                QueryStatus.SUCCESS, procTime);
 
@@ -137,7 +137,7 @@ public class UDDICustodyTransferImpl ext
        public void getTransferToken(String authInfo, KeyBag keyBag,
                        Holder<String> nodeID, Holder<XMLGregorianCalendar> 
expirationTime,
                        Holder<byte[]> opaqueToken) throws 
DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
 
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -186,7 +186,7 @@ public class UDDICustodyTransferImpl ext
                        
                        tx.commit();
                        
-                       long procTime = System.nanoTime() - startTime;
+                       long procTime = System.currentTimeMillis() - startTime;
                        
serviceCounter.update(CustodyTransferQuery.GET_TRANSFERTOKEN, 
                                QueryStatus.SUCCESS, procTime);
 
@@ -200,7 +200,7 @@ public class UDDICustodyTransferImpl ext
 
        public void transferEntities(TransferEntities body)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
 
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -239,7 +239,7 @@ public class UDDICustodyTransferImpl ext
                        em.remove(modelTransferToken);
                        
                        tx.commit();
-                       long procTime = System.nanoTime() - startTime;
+                       long procTime = System.currentTimeMillis() - startTime;
                        
serviceCounter.update(CustodyTransferQuery.TRANSFER_ENTITIES, 
                                QueryStatus.SUCCESS, procTime);
 

Modified: 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIInquiryImpl.java
URL: 
http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIInquiryImpl.java?rev=1479715&r1=1479714&r2=1479715&view=diff
==============================================================================
--- 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIInquiryImpl.java
 (original)
+++ 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIInquiryImpl.java
 Mon May  6 23:12:37 2013
@@ -81,11 +81,11 @@ public class UDDIInquiryImpl extends Aut
        
     public BindingDetail findBinding(FindBinding body)
                        throws DispositionReportFaultMessage {
-                long startTime = System.nanoTime();
+                long startTime = System.currentTimeMillis();
                 try {
                     new ValidateInquiry(null).validateFindBinding(body);
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(InquiryQuery.FIND_BINDING, 
QueryStatus.FAILED, procTime);                      
                     throw drfm;
                 }
@@ -119,7 +119,7 @@ public class UDDIInquiryImpl extends Aut
                        }
                        BindingDetail result = 
InquiryHelper.getBindingDetailFromKeys(body, findQualifiers, em, keysFound);
                        tx.rollback();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         serviceCounter.update(InquiryQuery.FIND_BINDING, 
QueryStatus.SUCCESS, procTime);                      
 
                        return result;
@@ -134,11 +134,11 @@ public class UDDIInquiryImpl extends Aut
        
     public BusinessList findBusiness(FindBusiness body)
                        throws DispositionReportFaultMessage {
-                long startTime = System.nanoTime();
+                long startTime = System.currentTimeMillis();
                 try {
                     new ValidateInquiry(null).validateFindBusiness(body);
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(InquiryQuery.FIND_BUSINESS, 
QueryStatus.FAILED, procTime);                      
                     throw drfm;
                 }
@@ -159,7 +159,7 @@ public class UDDIInquiryImpl extends Aut
                        BusinessList result = 
InquiryHelper.getBusinessListFromKeys(body, findQualifiers, em, keysFound);
 
                        tx.rollback();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         serviceCounter.update(InquiryQuery.FIND_BUSINESS, 
QueryStatus.SUCCESS, procTime);                      
 
                        return result;
@@ -174,11 +174,11 @@ public class UDDIInquiryImpl extends Aut
        
     public RelatedBusinessesList findRelatedBusinesses(FindRelatedBusinesses 
body)
                        throws DispositionReportFaultMessage {
-                long startTime = System.nanoTime();
+                long startTime = System.currentTimeMillis();
                 try {
                     new 
ValidateInquiry(null).validateFindRelatedBusinesses(body, false);
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(InquiryQuery.FIND_RELATEDBUSINESSES, 
QueryStatus.FAILED, procTime);                      
                     throw drfm;
                 }
@@ -199,7 +199,7 @@ public class UDDIInquiryImpl extends Aut
                        RelatedBusinessesList result = 
InquiryHelper.getRelatedBusinessesList(body, em);
 
                        tx.rollback();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         
serviceCounter.update(InquiryQuery.FIND_RELATEDBUSINESSES, QueryStatus.SUCCESS, 
procTime);                      
 
                        return result;
@@ -214,11 +214,11 @@ public class UDDIInquiryImpl extends Aut
        
     public ServiceList findService(FindService body)
                        throws DispositionReportFaultMessage {
-                long startTime = System.nanoTime();
+                long startTime = System.currentTimeMillis();
                 try {
                     new ValidateInquiry(null).validateFindService(body);
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(InquiryQuery.FIND_SERVICE, 
QueryStatus.FAILED, procTime);                      
                     throw drfm;
                 }
@@ -254,7 +254,7 @@ public class UDDIInquiryImpl extends Aut
                        ServiceList result = 
InquiryHelper.getServiceListFromKeys(body, findQualifiers, em, keysFound);
 
                        tx.rollback();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         serviceCounter.update(InquiryQuery.FIND_SERVICE, 
QueryStatus.SUCCESS, procTime);                      
 
                        return result;
@@ -269,11 +269,11 @@ public class UDDIInquiryImpl extends Aut
        
     public TModelList findTModel(FindTModel body)
                        throws DispositionReportFaultMessage {
-                long startTime = System.nanoTime();
+                long startTime = System.currentTimeMillis();
                 try {
                     new ValidateInquiry(null).validateFindTModel(body, false);
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(InquiryQuery.FIND_TMODEL, 
QueryStatus.FAILED, procTime);                      
                     throw drfm;
                 }
@@ -294,7 +294,7 @@ public class UDDIInquiryImpl extends Aut
                        TModelList result = 
InquiryHelper.getTModelListFromKeys(body, findQualifiers, em, keysFound);
 
                        tx.rollback();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         serviceCounter.update(InquiryQuery.FIND_TMODEL, 
QueryStatus.SUCCESS, procTime);                      
 
                        return result;
@@ -309,11 +309,11 @@ public class UDDIInquiryImpl extends Aut
        
     public BindingDetail getBindingDetail(GetBindingDetail body)
                        throws DispositionReportFaultMessage {
-                long startTime = System.nanoTime();
+                long startTime = System.currentTimeMillis();
                 try {
                     new ValidateInquiry(null).validateGetBindingDetail(body);
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(InquiryQuery.FIND_TMODEL, 
QueryStatus.FAILED, procTime);                      
                     throw drfm;
                 }
@@ -345,7 +345,7 @@ public class UDDIInquiryImpl extends Aut
                        }
 
                        tx.commit();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         serviceCounter.update(InquiryQuery.GET_BINDINGDETAIL, 
QueryStatus.SUCCESS, procTime);                      
 
                        return result;
@@ -360,11 +360,11 @@ public class UDDIInquiryImpl extends Aut
        
     public BusinessDetail getBusinessDetail(GetBusinessDetail body)
                        throws DispositionReportFaultMessage {
-                long startTime = System.nanoTime();
+                long startTime = System.currentTimeMillis();
                 try {
                     new ValidateInquiry(null).validateGetBusinessDetail(body);
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(InquiryQuery.GET_BUSINESSDETAIL, 
QueryStatus.FAILED, procTime);                      
                     throw drfm;
                 }
@@ -396,7 +396,7 @@ public class UDDIInquiryImpl extends Aut
                        }
 
                        tx.commit();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         serviceCounter.update(InquiryQuery.GET_BUSINESSDETAIL, 
QueryStatus.SUCCESS, procTime);                      
 
                        return result;
@@ -411,11 +411,11 @@ public class UDDIInquiryImpl extends Aut
        
     public OperationalInfos getOperationalInfo(GetOperationalInfo body)
                        throws DispositionReportFaultMessage {
-                long startTime = System.nanoTime();
+                long startTime = System.currentTimeMillis();
                 try {
                     new ValidateInquiry(null).validateGetOperationalInfo(body);
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(InquiryQuery.GET_OPERATIONALINFO, 
QueryStatus.FAILED, procTime);                      
                     throw drfm;
                 }
@@ -447,7 +447,7 @@ public class UDDIInquiryImpl extends Aut
                        }
 
                        tx.commit();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         
serviceCounter.update(InquiryQuery.GET_OPERATIONALINFO, QueryStatus.SUCCESS, 
procTime);                      
 
                        return result;
@@ -462,11 +462,11 @@ public class UDDIInquiryImpl extends Aut
        
     public ServiceDetail getServiceDetail(GetServiceDetail body)
                        throws DispositionReportFaultMessage {
-        long startTime = System.nanoTime();
+        long startTime = System.currentTimeMillis();
         try {
             new ValidateInquiry(null).validateGetServiceDetail(body);
         } catch (DispositionReportFaultMessage drfm) {
-            long procTime = System.nanoTime() - startTime;
+            long procTime = System.currentTimeMillis() - startTime;
             serviceCounter.update(InquiryQuery.GET_SERVICEDETAIL, 
QueryStatus.FAILED, procTime);                      
             throw drfm;
         }
@@ -498,7 +498,7 @@ public class UDDIInquiryImpl extends Aut
                        }
 
                        tx.commit();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         serviceCounter.update(InquiryQuery.GET_SERVICEDETAIL, 
QueryStatus.SUCCESS, procTime);                      
 
                        return result;
@@ -514,11 +514,11 @@ public class UDDIInquiryImpl extends Aut
        
     public TModelDetail getTModelDetail(GetTModelDetail body)
                        throws DispositionReportFaultMessage {
-                long startTime = System.nanoTime();
+                long startTime = System.currentTimeMillis();
                 try {
                     new ValidateInquiry(null).validateGetTModelDetail(body);
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(InquiryQuery.GET_TMODELDETAIL, 
QueryStatus.FAILED, procTime);                      
                     throw drfm;
                 }
@@ -550,7 +550,7 @@ public class UDDIInquiryImpl extends Aut
                        }
 
                        tx.commit();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         serviceCounter.update(InquiryQuery.GET_TMODELDETAIL, 
QueryStatus.SUCCESS, procTime);                      
 
                        return result;

Modified: 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIPublicationImpl.java
URL: 
http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIPublicationImpl.java?rev=1479715&r1=1479714&r2=1479715&view=diff
==============================================================================
--- 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIPublicationImpl.java
 (original)
+++ 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIPublicationImpl.java
 Mon May  6 23:12:37 2013
@@ -92,7 +92,7 @@ public class UDDIPublicationImpl extends
        
        public void addPublisherAssertions(AddPublisherAssertions body)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
 
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -152,11 +152,11 @@ public class UDDIPublicationImpl extends
                        }
        
                        tx.commit();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         
serviceCounter.update(PublicationQuery.ADD_PUBLISHERASSERTIONS, 
                                 QueryStatus.SUCCESS, procTime);                
        
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     
serviceCounter.update(PublicationQuery.ADD_PUBLISHERASSERTIONS, 
QueryStatus.FAILED, procTime);                      
                     throw drfm;
                 } finally {
@@ -169,7 +169,7 @@ public class UDDIPublicationImpl extends
 
        public void deleteBinding(DeleteBinding body)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
 
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -192,11 +192,11 @@ public class UDDIPublicationImpl extends
                        }
        
                        tx.commit();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         serviceCounter.update(PublicationQuery.DELETE_BINDING, 
                                 QueryStatus.SUCCESS, procTime);                
      
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(PublicationQuery.DELETE_BINDING, 
QueryStatus.FAILED, procTime);                      
                     throw drfm;
                } finally {
@@ -209,7 +209,7 @@ public class UDDIPublicationImpl extends
 
        public void deleteBusiness(DeleteBusiness body)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
 
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -227,10 +227,10 @@ public class UDDIPublicationImpl extends
                        }
        
                        tx.commit();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         
serviceCounter.update(PublicationQuery.DELETE_BUSINESS, QueryStatus.SUCCESS, 
procTime);               
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(PublicationQuery.DELETE_BUSINESS, 
QueryStatus.FAILED, procTime);                      
                     throw drfm;
                } finally {
@@ -243,7 +243,7 @@ public class UDDIPublicationImpl extends
 
        public void deletePublisherAssertions(DeletePublisherAssertions body)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
 
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -262,11 +262,11 @@ public class UDDIPublicationImpl extends
                        }
        
                        tx.commit();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         
serviceCounter.update(PublicationQuery.DELETE_PUBLISHERASSERTIONS, 
                                 QueryStatus.SUCCESS, procTime);
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     
serviceCounter.update(PublicationQuery.DELETE_PUBLISHERASSERTIONS, 
QueryStatus.FAILED, procTime);                      
                     throw drfm;                        
                } finally {
@@ -279,7 +279,7 @@ public class UDDIPublicationImpl extends
 
        public void deleteService(DeleteService body)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
 
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -300,11 +300,11 @@ public class UDDIPublicationImpl extends
                        }
        
                        tx.commit();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         serviceCounter.update(PublicationQuery.DELETE_SERVICE, 
                                 QueryStatus.SUCCESS, procTime);
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(PublicationQuery.DELETE_SERVICE, 
QueryStatus.FAILED, procTime);                      
                     throw drfm;                                               
                } finally {
@@ -318,7 +318,7 @@ public class UDDIPublicationImpl extends
 
        public void deleteTModel(DeleteTModel body)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
 
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -338,10 +338,10 @@ public class UDDIPublicationImpl extends
                        }
                        
                        tx.commit();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         serviceCounter.update(PublicationQuery.DELETE_TMODEL, 
QueryStatus.SUCCESS, procTime);                      
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(PublicationQuery.DELETE_TMODEL, 
QueryStatus.FAILED, procTime);                      
                     throw drfm;                                               
                } finally {
@@ -356,7 +356,7 @@ public class UDDIPublicationImpl extends
        public List<AssertionStatusItem> getAssertionStatusReport(String 
authInfo,
                        CompletionStatus completionStatus)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
 
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -368,13 +368,13 @@ public class UDDIPublicationImpl extends
                        List<org.uddi.api_v3.AssertionStatusItem> result = 
PublicationHelper.getAssertionStatusItemList(publisher, completionStatus, em);
        
                        tx.commit();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         
serviceCounter.update(PublicationQuery.GET_ASSERTIONSTATUSREPORT, 
                                 QueryStatus.SUCCESS, procTime);                
      
 
                        return result;
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     
serviceCounter.update(PublicationQuery.GET_ASSERTIONSTATUSREPORT, 
QueryStatus.FAILED, procTime);                      
                     throw drfm;                                               
                } finally {
@@ -387,7 +387,7 @@ public class UDDIPublicationImpl extends
 
        public List<PublisherAssertion> getPublisherAssertions(String authInfo)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
 
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -411,12 +411,12 @@ public class UDDIPublicationImpl extends
                        }
                        
                        tx.commit();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         
serviceCounter.update(PublicationQuery.GET_PUBLISHERASSERTIONS, 
                                 QueryStatus.SUCCESS, procTime);                
      
                        return result;
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     
serviceCounter.update(PublicationQuery.GET_PUBLISHERASSERTIONS, 
                             QueryStatus.FAILED, procTime);                     
 
                     throw drfm;                                                
                
@@ -431,7 +431,7 @@ public class UDDIPublicationImpl extends
 
        public RegisteredInfo getRegisteredInfo(GetRegisteredInfo body)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
 
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -488,13 +488,13 @@ public class UDDIPublicationImpl extends
                        }
                        
                        tx.commit();    
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         
serviceCounter.update(PublicationQuery.GET_REGISTEREDINFO, 
                                 QueryStatus.SUCCESS, procTime);                
      
 
                        return result;
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(PublicationQuery.GET_REGISTEREDINFO, 
                             QueryStatus.FAILED, procTime);                     
 
                     throw drfm;                                                
                 
@@ -509,7 +509,7 @@ public class UDDIPublicationImpl extends
 
        public BindingDetail saveBinding(SaveBinding body)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
 
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -542,13 +542,13 @@ public class UDDIPublicationImpl extends
                        }
        
                        tx.commit();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         serviceCounter.update(PublicationQuery.SAVE_BINDING, 
                                 QueryStatus.SUCCESS, procTime);                
      
 
                        return result;
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(PublicationQuery.SAVE_BINDING, 
                             QueryStatus.FAILED, procTime);                     
 
                     throw drfm;                                                
                 
@@ -563,7 +563,7 @@ public class UDDIPublicationImpl extends
 
        public BusinessDetail saveBusiness(SaveBusiness body)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
 
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -595,13 +595,13 @@ public class UDDIPublicationImpl extends
                        validator.validateSaveBusinessMax(em);
        
                        tx.commit();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         serviceCounter.update(PublicationQuery.SAVE_BUSINESS, 
                                 QueryStatus.SUCCESS, procTime);                
      
 
                        return result;
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(PublicationQuery.SAVE_BUSINESS, 
                             QueryStatus.FAILED, procTime);                     
 
                     throw drfm;                                                
                        
@@ -616,7 +616,7 @@ public class UDDIPublicationImpl extends
 
        public ServiceDetail saveService(SaveService body)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
 
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -650,13 +650,13 @@ public class UDDIPublicationImpl extends
                        
                        
                        tx.commit();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         serviceCounter.update(PublicationQuery.SAVE_SERVICE, 
                                 QueryStatus.SUCCESS, procTime);                
      
 
                        return result;
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(PublicationQuery.SAVE_SERVICE, 
                             QueryStatus.FAILED, procTime);                     
 
                     throw drfm;                                                
                                                
@@ -671,7 +671,7 @@ public class UDDIPublicationImpl extends
 
        public TModelDetail saveTModel(SaveTModel body)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
 
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -700,13 +700,13 @@ public class UDDIPublicationImpl extends
                        }
        
                        tx.commit();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         serviceCounter.update(PublicationQuery.SAVE_TMODEL, 
                                 QueryStatus.SUCCESS, procTime);                
      
 
                        return result;
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(PublicationQuery.SAVE_TMODEL, 
                             QueryStatus.FAILED, procTime);                     
 
                     throw drfm;                                                
                                                 
@@ -722,7 +722,7 @@ public class UDDIPublicationImpl extends
        public void setPublisherAssertions(String authInfo,
                        Holder<List<PublisherAssertion>> publisherAssertion)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
 
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -765,11 +765,11 @@ public class UDDIPublicationImpl extends
                        }
        
                        tx.commit();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         
serviceCounter.update(PublicationQuery.SET_PUBLISHERASSERTIONS, 
                                 QueryStatus.SUCCESS, procTime);                
      
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     
serviceCounter.update(PublicationQuery.SET_PUBLISHERASSERTIONS, 
                             QueryStatus.FAILED, procTime);                     
 
                     throw drfm;                                                
                                                 

Modified: 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIReplicationImpl.java
URL: 
http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIReplicationImpl.java?rev=1479715&r1=1479714&r2=1479715&view=diff
==============================================================================
--- 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIReplicationImpl.java
 (original)
+++ 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIReplicationImpl.java
 Mon May  6 23:12:37 2013
@@ -50,8 +50,8 @@ public class UDDIReplicationImpl extends
 
 
        public String doPing(DoPing body) throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
-                long procTime = System.nanoTime() - startTime;
+               long startTime = System.currentTimeMillis();
+                long procTime = System.currentTimeMillis() - startTime;
                 serviceCounter.update(ReplicationQuery.DO_PING, 
QueryStatus.SUCCESS, procTime);
 
                ValidateReplication.unsupportedAPICall();
@@ -64,8 +64,8 @@ public class UDDIReplicationImpl extends
                        BigInteger responseLimitCount,
                        HighWaterMarkVectorType responseLimitVector)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
-                long procTime = System.nanoTime() - startTime;
+               long startTime = System.currentTimeMillis();
+                long procTime = System.currentTimeMillis() - startTime;
                 serviceCounter.update(ReplicationQuery.GET_CHANGERECORDS, 
                         QueryStatus.SUCCESS, procTime);
 
@@ -76,8 +76,8 @@ public class UDDIReplicationImpl extends
 
        public List<ChangeRecordIDType> getHighWaterMarks()
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
-                long procTime = System.nanoTime() - startTime;
+               long startTime = System.currentTimeMillis();
+                long procTime = System.currentTimeMillis() - startTime;
                 serviceCounter.update(ReplicationQuery.GET_HIGHWATERMARKS, 
QueryStatus.SUCCESS, procTime);
 
                ValidateReplication.unsupportedAPICall();
@@ -87,8 +87,8 @@ public class UDDIReplicationImpl extends
 
        public void notifyChangeRecordsAvailable(NotifyChangeRecordsAvailable 
body)
                        throws DispositionReportFaultMessage {
-            long startTime = System.nanoTime();
-            long procTime = System.nanoTime() - startTime;
+            long startTime = System.currentTimeMillis();
+            long procTime = System.currentTimeMillis() - startTime;
             
serviceCounter.update(ReplicationQuery.NOTIFY_CHANGERECORDSAVAILABLE, 
                     QueryStatus.SUCCESS, procTime);
 
@@ -98,8 +98,8 @@ public class UDDIReplicationImpl extends
 
        public void transferCustody(TransferCustody body)
                        throws DispositionReportFaultMessage {
-           long startTime = System.nanoTime();
-            long procTime = System.nanoTime() - startTime;
+           long startTime = System.currentTimeMillis();
+            long procTime = System.currentTimeMillis() - startTime;
             serviceCounter.update(ReplicationQuery.TRANSFER_CUSTODY, 
                     QueryStatus.SUCCESS, procTime);
 

Modified: 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISecurityImpl.java
URL: 
http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISecurityImpl.java?rev=1479715&r1=1479714&r2=1479715&view=diff
==============================================================================
--- 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISecurityImpl.java
 (original)
+++ 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISecurityImpl.java
 Mon May  6 23:12:37 2013
@@ -60,7 +60,7 @@ public class UDDISecurityImpl extends Au
        
        public void discardAuthToken(DiscardAuthToken body)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
            
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -77,11 +77,11 @@ public class UDDISecurityImpl extends Au
                        }
        
                        tx.commit();
-                        long procTime = System.nanoTime() - startTime;
+                        long procTime = System.currentTimeMillis() - startTime;
                         serviceCounter.update(SecurityQuery.DISCARD_AUTHTOKEN, 
                                 QueryStatus.SUCCESS, procTime);
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(SecurityQuery.DISCARD_AUTHTOKEN, 
                             QueryStatus.FAILED, procTime);                     
 
                     throw drfm;                                                
                                                 
@@ -105,7 +105,7 @@ public class UDDISecurityImpl extends Au
        
        public AuthToken getAuthToken(String publisherId)
        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
 
                if (publisherId == null || publisherId.length() == 0)
                        throw new UnknownUserException(new 
ErrorMessage("errors.auth.InvalidCredentials", publisherId));
@@ -138,13 +138,13 @@ public class UDDISecurityImpl extends Au
                        MappingModelToApi.mapAuthToken(modelAuthToken, 
apiAuthToken);
 
                        tx.commit();
-                       long procTime = System.nanoTime() - startTime;
+                       long procTime = System.currentTimeMillis() - startTime;
                        serviceCounter.update(SecurityQuery.GET_AUTHTOKEN, 
                                QueryStatus.SUCCESS, procTime);
 
                        return apiAuthToken;
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(SecurityQuery.GET_AUTHTOKEN, 
                             QueryStatus.FAILED, procTime);                     
 
                     throw drfm;                                                
                                                 

Modified: 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIServiceCounter.java
URL: 
http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIServiceCounter.java?rev=1479715&r1=1479714&r2=1479715&view=diff
==============================================================================
--- 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIServiceCounter.java
 (original)
+++ 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIServiceCounter.java
 Mon May  6 23:12:37 2013
@@ -28,6 +28,11 @@ import org.apache.commons.logging.LogFac
 import org.apache.juddi.api.util.QueryStatus;
 import org.apache.juddi.api.util.UDDIQuery;
 
+/**
+ * This class provides MBean functionality that offers metrics on UDDI service 
method invocations
+ * and various management functions (documented by Alex O'Ree)
+ * @author Tom Cunningham
+ */
 public class UDDIServiceCounter implements DynamicMBean, Serializable {
 
     private static Log log = LogFactory.getLog(UDDIServiceCounter.class);
@@ -146,6 +151,14 @@ public class UDDIServiceCounter implemen
 
     }
 
+    /**
+     * This updates the performance metrics for a given service.
+     * 
+     * Note, as of jUDDI 3.2, procTime MUST be in milliseconds. Prior to 3.2 
used nanoseconds
+     * @param queryObject the item that was executed
+     * @param queryStatus success or fail status
+     * @param procTime Expects time in milliseconds
+     */
     public synchronized void update(UDDIQuery queryObject, QueryStatus 
queryStatus, 
             long procTime) {        
         //log.info("Updating " + queryObject.getQuery() + " time " + procTime);

Modified: 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionImpl.java
URL: 
http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionImpl.java?rev=1479715&r1=1479714&r2=1479715&view=diff
==============================================================================
--- 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionImpl.java
 (original)
+++ 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionImpl.java
 Mon May  6 23:12:37 2013
@@ -105,7 +105,7 @@ public class UDDISubscriptionImpl extend
        
        public void deleteSubscription(DeleteSubscription body)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
 
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -122,11 +122,11 @@ public class UDDISubscriptionImpl extend
                }
        
                tx.commit();
-                long procTime = System.nanoTime() - startTime;
+                long procTime = System.currentTimeMillis() - startTime;
                 serviceCounter.update(SubscriptionQuery.DELETE_SUBSCRIPTION, 
                         QueryStatus.SUCCESS, procTime);
                 } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     
serviceCounter.update(SubscriptionQuery.DELETE_SUBSCRIPTION, 
                             QueryStatus.FAILED, procTime);                     
 
                     throw drfm;                                                
                                                 
@@ -154,7 +154,7 @@ public class UDDISubscriptionImpl extend
         */
        @SuppressWarnings("unchecked")
        public SubscriptionResultsList 
getSubscriptionResults(GetSubscriptionResults body, UddiEntityPublisher 
publisher) throws DispositionReportFaultMessage {
-                long startTime = System.nanoTime();
+                long startTime = System.currentTimeMillis();
             
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -759,13 +759,13 @@ public class UDDISubscriptionImpl extend
                        }
                        
                tx.commit();
-                long procTime = System.nanoTime() - startTime;
+                long procTime = System.currentTimeMillis() - startTime;
                 
serviceCounter.update(SubscriptionQuery.GET_SUBSCRIPTIONRESULTS, 
                         QueryStatus.SUCCESS, procTime);
 
                return result;
         } catch (DispositionReportFaultMessage drfm) {
-            long procTime = System.nanoTime() - startTime;
+            long procTime = System.currentTimeMillis() - startTime;
             serviceCounter.update(SubscriptionQuery.GET_SUBSCRIPTIONRESULTS, 
                     QueryStatus.FAILED, procTime);                      
             throw drfm;                                                        
                                         
@@ -780,7 +780,7 @@ public class UDDISubscriptionImpl extend
        @SuppressWarnings("unchecked")
        public List<Subscription> getSubscriptions(String authInfo)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
                 try {
@@ -803,13 +803,13 @@ public class UDDISubscriptionImpl extend
                        }
                
                tx.commit();
-                long procTime = System.nanoTime() - startTime;
+                long procTime = System.currentTimeMillis() - startTime;
                 serviceCounter.update(SubscriptionQuery.GET_SUBSCRIPTIONS, 
                         QueryStatus.SUCCESS, procTime);
 
                return result;
         } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(SubscriptionQuery.GET_SUBSCRIPTIONS, 
                             QueryStatus.FAILED, procTime);                     
 
                     throw drfm;                                                
                                                                
@@ -832,7 +832,7 @@ public class UDDISubscriptionImpl extend
        public void saveSubscription(String authInfo,
                        Holder<List<Subscription>> subscription)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
+               long startTime = System.currentTimeMillis();
 
                EntityManager em = PersistenceManager.getEntityManager();
                EntityTransaction tx = em.getTransaction();
@@ -878,11 +878,11 @@ public class UDDISubscriptionImpl extend
                        }
        
                        tx.commit();
-                       long procTime = System.nanoTime() - startTime;
+                       long procTime = System.currentTimeMillis() - startTime;
                        
serviceCounter.update(SubscriptionQuery.SAVE_SUBSCRIPTION, 
                                QueryStatus.SUCCESS, procTime);
                } catch (DispositionReportFaultMessage drfm) {
-                    long procTime = System.nanoTime() - startTime;
+                    long procTime = System.currentTimeMillis() - startTime;
                     serviceCounter.update(SubscriptionQuery.SAVE_SUBSCRIPTION, 
                             QueryStatus.FAILED, procTime);                     
 
                     throw drfm;                                                
                                                                 

Modified: 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIValueSetCachingImpl.java
URL: 
http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIValueSetCachingImpl.java?rev=1479715&r1=1479714&r2=1479715&view=diff
==============================================================================
--- 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIValueSetCachingImpl.java
 (original)
+++ 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIValueSetCachingImpl.java
 Mon May  6 23:12:37 2013
@@ -49,8 +49,8 @@ public class UDDIValueSetCachingImpl ext
     public void getAllValidValues(String authInfo, String modelKey,
                        Holder<String> chunkToken, Holder<List<ValidValue>> 
validValue)
                        throws DispositionReportFaultMessage {
-            long startTime = System.nanoTime();
-            long procTime = System.nanoTime() - startTime;
+            long startTime = System.currentTimeMillis();
+            long procTime = System.currentTimeMillis() - startTime;
             serviceCounter.update(ValueSetCachingQuery.GET_ALLVALIDVALUES, 
                     QueryStatus.SUCCESS, procTime);
 

Modified: 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIValueSetValidationImpl.java
URL: 
http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIValueSetValidationImpl.java?rev=1479715&r1=1479714&r2=1479715&view=diff
==============================================================================
--- 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIValueSetValidationImpl.java
 (original)
+++ 
juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIValueSetValidationImpl.java
 Mon May  6 23:12:37 2013
@@ -46,8 +46,8 @@ public class UDDIValueSetValidationImpl 
     
        public DispositionReport validateValues(ValidateValues body)
                        throws DispositionReportFaultMessage {
-               long startTime = System.nanoTime();
-                long procTime = System.nanoTime() - startTime;
+               long startTime = System.currentTimeMillis();
+                long procTime = System.currentTimeMillis() - startTime;
                 serviceCounter.update(ValueSetValidationQuery.VALIDATE_VALUES, 
                         QueryStatus.SUCCESS, procTime);
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to