/** * Removes the oplog from the map given the oplogId * * @param id * id of the oplog to be removed from the list * @return oplog Oplog which has been removed */ Oplog removeOplog(long id) { return removeOplog(id, false, null); }
/** * Removes the oplog from the map given the oplogId * * @param id * id of the oplog to be removed from the list * @return oplog Oplog which has been removed */ Oplog removeOplog(long id) { return removeOplog(id, false, null); }
Oplog removeOplog(long id) { return getOplogSet().removeOplog(id); } DirectoryHolder getNextDir() {
Oplog removeOplog(long id) { return getOplogSet().removeOplog(id); } DirectoryHolder getNextDir() {
public void destroyAllOplogs() { // get a snapshot to prevent CME for (Oplog oplog : getAllOplogs()) { if (oplog != null) { // logger.info(LocalizedStrings.DEBUG, "DEBUG destroying oplog=" + // oplog.getOplogId()); oplog.destroy(); removeOplog(oplog.getOplogId()); } } }
public void destroyAllOplogs() { // get a snapshot to prevent CME for (Oplog oplog : getAllOplogs()) { if (oplog != null) { oplog.destroy(); removeOplog(oplog.getOplogId()); } } }
/** closes all the oplogs except the current one * */ private void closeOtherOplogs() { // get a snapshot to prevent CME Oplog[] oplogs = getAllOplogs(); // if there are oplogs which are to be compacted, destroy them // do not do oplogs[0] for (int i = 1; i < oplogs.length; i++) { oplogs[i].finishKrf(); oplogs[i].close(); removeOplog(oplogs[i].getOplogId()); } }
/** closes all the oplogs except the current one * */ private void closeOtherOplogs() { // get a snapshot to prevent CME Oplog[] oplogs = getAllOplogs(); // if there are oplogs which are to be compacted, destroy them // do not do oplogs[0] for (int i = 1; i < oplogs.length; i++) { oplogs[i].finishKrf(); oplogs[i].close(); removeOplog(oplogs[i].getOplogId()); } }
getOplogSet().removeOplog(getOplogId(), true, getHasDeletes() ? this : null); if (!getHasDeletes()) { getOplogSet().drfDelete(this.oplogId); getOplogSet().removeOplog(getOplogId(), true/* say we are deleting so that undeletedOplogSize is not inced */, null);
getOplogSet().removeOplog(getOplogId(), true, addToDrfOnly ? this : null); } else if (!crfOnly && getHasDeletes()) { setHasDeletes(false);
getOplogSet().removeOplog(getOplogId(), true, addToDrfOnly ? this : null); } else if (!crfOnly && getHasDeletes()) { setHasDeletes(false);
getOplogSet().removeOplog(getOplogId(), true, getHasDeletes() ? this : null); if (!getHasDeletes()) { getOplogSet().drfDelete(this.oplogId); getOplogSet().removeOplog(getOplogId(), true/*
getOplogSet().removeOplog(this.oplogId); throw dae;
getOplogSet().removeOplog(this.oplogId) ; throw dae;