@Override
 public synchronized void unregisterDataSourceOfTenant(String tenant) {
   DataSource dataSource = dataSources.remove(tenant);
   if (dataSource != null) {
     dataSource = null;
     LOGGER.debug("Data source of tenant '" + tenant + "' released!");
   }
   lastAccess.remove(tenant);
 }
 @Override
 public synchronized void releaseAllDataSources() {
   dataSources.clear();
   lastAccess.clear();
   LOGGER.debug("All tenant datasource have been released!");
 }