Interface OutboxPollingSearchMapping
-
Method Summary
Modifier and TypeMethodDescriptionint
Delete all events that are at the moment in aborted state.int
clearAllAbortedEvents
(Object tenantId) Delete all events that are at the moment in aborted state.int
clearAllAbortedEvents
(String tenantId) Deprecated, for removal: This API element is subject to removal in a future version.long
Returns the number of events that are at the moment in aborted state.long
countAbortedEvents
(Object tenantId) Returns the number of events that are at the moment in aborted state.long
countAbortedEvents
(String tenantId) Deprecated, for removal: This API element is subject to removal in a future version.UsecountAbortedEvents(Object)
instead.int
Reprocess events that are at the moment in aborted state.int
reprocessAbortedEvents
(Object tenantId) Reprocess events that are at the moment in aborted state.int
reprocessAbortedEvents
(String tenantId) Deprecated, for removal: This API element is subject to removal in a future version.UsereprocessAbortedEvents(Object)
instead.
-
Method Details
-
countAbortedEvents
long countAbortedEvents()Returns the number of events that are at the moment in aborted state.This method only works for single-tenant applications. If multi-tenancy is enabled, use
countAbortedEvents(Object)
instead.- Returns:
- The number of aborted events
-
countAbortedEvents
Deprecated, for removal: This API element is subject to removal in a future version.UsecountAbortedEvents(Object)
instead.Returns the number of events that are at the moment in aborted state.This method only works for multi-tenant applications. If multi-tenancy is disabled, use
countAbortedEvents()
instead.- Parameters:
tenantId
- The identifier of the tenant whose index content should be targeted- Returns:
- The number of aborted events
-
countAbortedEvents
Returns the number of events that are at the moment in aborted state.This method only works for multi-tenant applications. If multi-tenancy is disabled, use
countAbortedEvents()
instead.- Parameters:
tenantId
- The identifier of the tenant whose index content should be targeted- Returns:
- The number of aborted events
-
reprocessAbortedEvents
int reprocessAbortedEvents()Reprocess events that are at the moment in aborted state.This method only works for single-tenant applications. If multi-tenancy is enabled, use
reprocessAbortedEvents(Object)
instead.- Returns:
- The number of reprocessed events
-
reprocessAbortedEvents
Deprecated, for removal: This API element is subject to removal in a future version.UsereprocessAbortedEvents(Object)
instead.Reprocess events that are at the moment in aborted state.This method only works for multi-tenant applications. If multi-tenancy is disabled, use
reprocessAbortedEvents()
instead.- Parameters:
tenantId
- The identifier of the tenant whose index content should be targeted- Returns:
- The number of reprocessed events
-
reprocessAbortedEvents
Reprocess events that are at the moment in aborted state.This method only works for multi-tenant applications. If multi-tenancy is disabled, use
reprocessAbortedEvents()
instead.- Parameters:
tenantId
- The identifier of the tenant whose index content should be targeted- Returns:
- The number of reprocessed events
-
clearAllAbortedEvents
int clearAllAbortedEvents()Delete all events that are at the moment in aborted state.This method only works for single-tenant applications. If multi-tenancy is enabled, use
clearAllAbortedEvents(Object)
instead.- Returns:
- The number of deleted events
-
clearAllAbortedEvents
Deprecated, for removal: This API element is subject to removal in a future version.UseclearAllAbortedEvents(Object)
instead.Delete all events that are at the moment in aborted state.This method only works for multi-tenant applications. If multi-tenancy is disabled, use
clearAllAbortedEvents()
instead.- Parameters:
tenantId
- The identifier of the tenant whose index content should be targeted- Returns:
- The number of deleted events
-
clearAllAbortedEvents
Delete all events that are at the moment in aborted state.This method only works for multi-tenant applications. If multi-tenancy is disabled, use
clearAllAbortedEvents()
instead.- Parameters:
tenantId
- The identifier of the tenant whose index content should be targeted- Returns:
- The number of deleted events
-
clearAllAbortedEvents(Object)
instead.