Class ReindexActiveAliasResolverImpl
java.lang.Object
com.flowable.indexing.reindex.dualwrite.ReindexActiveAliasResolverImpl
- All Implemented Interfaces:
ReindexActiveAliasResolver
Caches the dual-write target per alias with a TTL. A reindex start/end is picked up within the TTL; the
propagation gate (
activeAliasCacheTtl + propagationGrace) waits out that window before backfilling,
so no live write is missed.-
Constructor Summary
ConstructorsConstructorDescriptionReindexActiveAliasResolverImpl(Function<String, String> propertyReader, Duration ttl, LongSupplier clock, String indexNamePrefix) -
Method Summary
-
Constructor Details
-
ReindexActiveAliasResolverImpl
-
-
Method Details
-
getCurrentReindexingTargetForAlias
- Specified by:
getCurrentReindexingTargetForAliasin interfaceReindexActiveAliasResolver
-