Class OutboxPollingExtension
- java.lang.Object
-
- org.hibernate.search.mapper.orm.coordination.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:
get()
-
-
Constructor Summary
Constructors Constructor Description OutboxPollingExtension()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OutboxPollingSearchMapping
extendOrFail(SearchMapping original)
Attempt to extend a search mapping, throwing an exception in case of failure.static OutboxPollingExtension
get()
-
-
-
Method Detail
-
extendOrFail
public OutboxPollingSearchMapping extendOrFail(SearchMapping original)
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
public static OutboxPollingExtension get()
-
-