public long getMillisToNextPeriodicRoll() { if (lastRollTs.get() > 0 && periodicRollMsec > 0) { return periodicRollMsec - getMillisFromLastRoll(); } return Long.MAX_VALUE; }
float rollTsSec = getMillisFromLastRoll() / 1000.0f; LOG.trace(String.format("Waiting for data. flushed=%s (%s/sec)", StringUtils.humanSize(totalSynced.get()), final float rollSec = getMillisFromLastRoll() / 1000.0f; final float syncedPerSec = totalSyncedToStore / rollSec; if (LOG.isTraceEnabled() && (syncWaitMs > 10 || slotIndex < syncMaxSlot)) {
long millisFromLastRoll = walStore.getMillisFromLastRoll(); ArrayList<ProcedureWALFile> procedureWALFiles = walStore.getActiveLogs(); Set<ProcedureWALFile> corruptedWALFiles = walStore.getCorruptedLogs();
public long getMillisToNextPeriodicRoll() { if (lastRollTs.get() > 0 && periodicRollMsec > 0) { return periodicRollMsec - getMillisFromLastRoll(); } return Long.MAX_VALUE; }
private long getMillisToNextPeriodicRoll() { if (lastRollTs.get() > 0 && periodicRollMsec > 0) { return periodicRollMsec - getMillisFromLastRoll(); } return Long.MAX_VALUE; }
public long getMillisToNextPeriodicRoll() { if (lastRollTs.get() > 0 && periodicRollMsec > 0) { return periodicRollMsec - getMillisFromLastRoll(); } return Long.MAX_VALUE; }
float rollTsSec = getMillisFromLastRoll() / 1000.0f; LOG.trace(String.format("Waiting for data. flushed=%s (%s/sec)", StringUtils.humanSize(totalSynced.get()), final float rollSec = getMillisFromLastRoll() / 1000.0f; final float syncedPerSec = totalSyncedToStore / rollSec; if (LOG.isTraceEnabled() && (syncWaitMs > 10 || slotIndex < syncMaxSlot)) {
float rollTsSec = getMillisFromLastRoll() / 1000.0f; LOG.trace(String.format("Waiting for data. flushed=%s (%s/sec)", StringUtils.humanSize(totalSynced.get()), float rollSec = getMillisFromLastRoll() / 1000.0f; LOG.trace(String.format("Sync wait %s, slotIndex=%s , totalSynced=%s (%s/sec)", StringUtils.humanTimeDiff(syncWaitMs), slotIndex,
float rollTsSec = getMillisFromLastRoll() / 1000.0f; LOG.trace(String.format("Waiting for data. flushed=%s (%s/sec)", StringUtils.humanSize(totalSynced.get()), final float rollSec = getMillisFromLastRoll() / 1000.0f; final float syncedPerSec = totalSyncedToStore / rollSec; if (LOG.isTraceEnabled() && (syncWaitMs > 10 || slotIndex < syncMaxSlot)) {