@Override public void recordInserts(final long time, final ArchiveInsertRecord... records) throws SRecorderException { final String methodName = "recordInserts"; logBeforeMethod(TechnicalLogSeverity.TRACE, methodName); if (records != null) { assignArchiveDate(time, records); final BatchArchiveCallable callable = buildBatchArchiveCallable(records); try { transactionService.registerBeforeCommitCallable(callable); } catch (final STransactionNotFoundException e) { if (logger.isLoggable(this.getClass(), TechnicalLogSeverity.TRACE)) { logger.log(this.getClass(), TechnicalLogSeverity.ERROR, "Unable to register the beforeCommitCallable to log queriable logs: transaction not found", e); } } } logAfterMethod(TechnicalLogSeverity.TRACE, methodName); }
@Override public void recordInserts(final long time, final ArchiveInsertRecord... records) throws SRecorderException { final String methodName = "recordInserts"; logBeforeMethod(TechnicalLogSeverity.TRACE, methodName); if (records != null) { assignArchiveDate(time, records); final BatchArchiveCallable callable = buildBatchArchiveCallable(records); try { transactionService.registerBeforeCommitCallable(callable); } catch (final STransactionNotFoundException e) { if (logger.isLoggable(this.getClass(), TechnicalLogSeverity.TRACE)) { logger.log(this.getClass(), TechnicalLogSeverity.ERROR, "Unable to register the beforeCommitCallable to log queriable logs: transaction not found", e); } } } logAfterMethod(TechnicalLogSeverity.TRACE, methodName); }