}
if(System.currentTimeMillis() - pool.getLastMajorSync() >
pool.getMajorSyncPeriod()) {
pool.sync(broker, Sync.MAJOR_SYNC);
} else {
pool.sync(broker, Sync.MINOR_SYNC);
}
}
private boolean checkDiskSpace(BrokerPool pool) {
final long space = dataDir.getUsableSpace();