Strabon

changeset 1293:8cc170e2ecd0

log timing for initializing Strabon
author Babis Nikolaou <charnik@di.uoa.gr>
date Mon Oct 21 02:55:04 2013 +0300 (2013-10-21)
parents 9f4e99e57e1a
children 4610c06bc956
files runtime/src/main/java/eu/earthobservatory/runtime/generaldb/Strabon.java
line diff
     1.1 --- a/runtime/src/main/java/eu/earthobservatory/runtime/generaldb/Strabon.java	Sat Oct 19 23:52:01 2013 +0300
     1.2 +++ b/runtime/src/main/java/eu/earthobservatory/runtime/generaldb/Strabon.java	Mon Oct 21 02:55:04 2013 +0300
     1.3 @@ -76,7 +76,11 @@
     1.4  			
     1.5  		}
     1.6  
     1.7 +		long start = System.currentTimeMillis();
     1.8  		initiate(databaseName, user, password, port, serverName);
     1.9 +		long end = System.currentTimeMillis();
    1.10 +		
    1.11 +		logger.info("[Strabon] Initialization took " + (end - start) + " ms.");
    1.12  	}
    1.13  
    1.14