@Override public void run() { tick(); }
synchronized void addSync(OperationContext ctx) { ctx.pageSyncLineUp(); if (!pendingSync) { pendingSync = true; delay(); } syncOperations.add(ctx); }
@Override public void sync() throws Exception { if (syncTimer != null) { syncTimer.addSync(storageManager.getContext()); } else { ioSync(); } }
this.syncTimer = new PageSyncTimer(this, scheduledExecutor, ioExecutor, syncTimeout); } else { this.syncTimer = null;