private synchronized void addToBeCompacted() { if (this.added) return; this.added = true; getOplogSet().addToBeCompacted(this); if (logger.isDebugEnabled()) { logger.debug("Oplog::switchOpLog: Added the Oplog = {} for compacting.", this.oplogId); } }
void addToBeCompacted(Oplog oplog) { getOplogSet().addToBeCompacted(oplog); } CompactableOplog[] getOplogToBeCompacted() {
void addToBeCompacted(Oplog oplog) { getOplogSet().addToBeCompacted(oplog); } CompactableOplog[] getOplogToBeCompacted() {
private synchronized void addToBeCompacted() { if (this.added) return; this.added = true; getOplogSet().addToBeCompacted(this); if (this.logger.fineEnabled()) { this.logger.fine("Oplog::switchOpLog: Added the Oplog = " + this.oplogId + " for compacting. "); } }