broker.setUser(SecurityManager.SYSTEM_USER); broker.cleanUp();  if (syncEvent == Sync.MAJOR_SYNC)
broker.setUser(SecurityManager.SYSTEM_USER); broker.cleanUp();  if (syncEvent == Sync.MAJOR_SYNC) { try { if (!FORCE_CORRUPTION) txnManager.checkpoint(checkpoint); } catch (TransactionException e) { LOG.warn(e.getMessage(), e); }
	public void sync(DBBroker broker, int syncEvent) {		broker.sync(syncEvent);		broker.setUser(SecurityManager.SYSTEM_USER);		broker.cleanUp();                if (syncEvent == Sync.MAJOR_SYNC)            cacheManager.checkCaches();	}