Package org.alfresco.event.outbox
Interface OutboxConfig
public interface OutboxConfig
Integration point which allows to provide configuration options used by the
Outbox implementation.- See Also:
-
Method Details
-
getFetchLimit
default int getFetchLimit()- Returns:
- Number of events fetched and processed in a single batch. Defaults to 100.
-
getProcessingDelayWhenAtLeastOneEventWasSuccessfullyProcessed
- Returns:
- Delay between batches when previous batch successfully processed at least 1 event. Defaults to ZERO.
-
getProcessingDelayWhenNoEvents
- Returns:
- Delay between batches when previous batch resulted in zero events. Defaults to 100ms.
-
getProcessingDelayWhenSqlExceptionIsThrown
- Returns:
- Delay between batches when previous batch resulted in
SQLException. Defaults to ZERO.
-
getProcessingDelayWhenSqlExceptionIsThrownWhenGettingConnection
- Returns:
- Delay between batches when previous batch resulted in
SQLExceptionwhen gettingConnectionusing {@link ConnectionSource). Defaults to <strong>1s</strong>.
-
getQueueStatsReportingInterval
- Returns:
- Queue metrics reporting interval. Defaults to 1s.
-
getSchemaCreationMaxAttempts
default int getSchemaCreationMaxAttempts()WhenOutboxstarts working for the first time some schema changes are required. This method controls how many attempts are made before giving up.
-