LOGGER.debug("DefaultRolloverStrategy.purgeDescending executing {} of {}: {}", // i, renames.size(), action); if (!action.execute()) { return -1;
/** * Cancels the action if not already initialized or waits till completion. */ @Override public void close() { action.close(); }
/** * Determines if action has been completed. * * @return true if action is complete. */ @Override public boolean isComplete() { return action.isComplete(); }
LOGGER.debug("DefaultRolloverStrategy.purgeAscending executing {} of {}: {}", // i, renames.size(), action); if (!action.execute()) { return -1;
/** * Executes an action. * * @return true if action was successful. A return value of false will cause * the rollover to be aborted if possible. * @throws java.io.IOException if IO error, a thrown exception will cause the rollover * to be aborted if possible. */ @Override public boolean execute() throws IOException { try { return action.execute(); } finally { manager.semaphore.release(); } }
try { LOGGER.debug("DefaultRolloverStrategy.purgeDescending executing {}", action); if (!action.execute()) { return -1;
try { LOGGER.debug("DefaultRolloverStrategy.purgeAscending executing {}", action); if (!action.execute()) { return -1;
LOGGER.debug("RollingFileManager executing synchronous {}", descriptor.getSynchronous()); try { success = descriptor.getSynchronous().execute(); } catch (final Exception ex) { success = false;