Class OutboxPollingExtension
java.lang.Object
org.hibernate.search.mapper.orm.outboxpolling.OutboxPollingExtension
- All Implemented Interfaces:
SearchMappingExtension<OutboxPollingSearchMapping>
@Incubating
public class OutboxPollingExtension
extends Object
implements SearchMappingExtension<OutboxPollingSearchMapping>
An extension to the search mapping, giving access to features specific to the outbox polling coordination strategy.
WARNING: while this type is API, because instances should be manipulated by users, all of its methods are considered SPIs and therefore should never be called directly by users. In short, users are only expected to get instances of this type from an API and pass it to another API.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextendOrFail
(SearchMapping original) Attempt to extend a search mapping, throwing an exception in case of failure.static OutboxPollingExtension
get()
-
Constructor Details
-
OutboxPollingExtension
public OutboxPollingExtension()
-
-
Method Details
-
extendOrFail
Description copied from interface:SearchMappingExtension
Attempt to extend a search mapping, throwing an exception in case of failure.WARNING: this method is not API, see comments at the type level.
- Specified by:
extendOrFail
in interfaceSearchMappingExtension<OutboxPollingSearchMapping>
- Parameters:
original
- The original, non-extendedSearchMapping
.- Returns:
- An extended search mapping (
SearchMappingExtension
)
-
get
-