Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractFailoverExpiryExtractor - Class in com.societegenerale.failover.core.expiry
-
Base
FailoverExpiryExtractorthat resolves expiry configuration from a@Failoverannotation, preferring SpEL expression attributes over the literal numeric ones. - AbstractFailoverExpiryExtractor() - Constructor for class com.societegenerale.failover.core.expiry.AbstractFailoverExpiryExtractor
- AbstractObservablePublisher - Class in com.societegenerale.failover.core.observable.publisher
-
Base
ObservablePublisherthat delegates publishing toAbstractObservablePublisher.doPublish(com.societegenerale.failover.core.observable.Metrics). - AbstractObservablePublisher() - Constructor for class com.societegenerale.failover.core.observable.publisher.AbstractObservablePublisher
- additionalInfo() - Method in class com.societegenerale.failover.properties.FailoverProperties
-
Returns a flat map of key failover properties for inclusion in startup reports.
- AdvancedFailoverHandler<T> - Class in com.societegenerale.failover.core
-
FailoverHandlerdecorator that publishes metrics on every store/recover operation and delegates payload post-processing to aRecoveredPayloadHandler. - AdvancedFailoverHandler() - Constructor for class com.societegenerale.failover.core.AdvancedFailoverHandler
- afterSingletonsInstantiated() - Method in class com.societegenerale.failover.observable.micrometer.FailoverMeterBinder
-
Registers per-failover expiry gauges after the scanner has completed its scan.
- afterSingletonsInstantiated() - Method in class com.societegenerale.failover.observable.scanner.SpringContextFailoverScanner
-
Scans all registered singleton beans for methods annotated with
Failover. - analyze(Throwable, NoSuchBeanDefinitionException, String) - Method in class com.societegenerale.failover.analyzer.FailoverFailureAnalyzer
- args() - Method in record class com.societegenerale.failover.core.exception.MethodExceptionContext
-
Returns the value of the
argsrecord component. - asyncFailoverStore(TenantStoreFactory<Object>, TaskExecutor) - Method in class com.societegenerale.failover.configuration.FailoverStoreAutoConfiguration
-
Async store:
FailoverStoreAsync(DefaultFailoverStore(raw)). - asyncMultiTenantFailoverStore(TenantResolver, TenantStoreFactory<Object>, FailoverProperties, TaskExecutor) - Method in class com.societegenerale.failover.configuration.FailoverStoreAutoConfiguration
-
Async multi-tenant store:
MultiTenantFailoverStorewith per-tenantFailoverStoreAsync(DefaultFailoverStore(raw))decorator.
B
- BASIC - Enum constant in enum class com.societegenerale.failover.properties.FailoverType
-
For basic failover type which uses simple try catch
- BasicFailoverExecution<T> - Class in com.societegenerale.failover.core
-
Basic
FailoverExecutionthat invokes the supplier, stores the result on success, and attempts recovery via theFailoverHandleron any exception. - BasicFailoverExecution() - Constructor for class com.societegenerale.failover.core.BasicFailoverExecution
- BasicFailoverExpiryExtractor - Class in com.societegenerale.failover.core.expiry
-
AbstractFailoverExpiryExtractorthat interprets expression strings as plain literals: durations are parsed withLong.parseLong(java.lang.String, int)and units withChronoUnit.valueOf(java.lang.String). - BasicFailoverExpiryExtractor() - Constructor for class com.societegenerale.failover.core.expiry.BasicFailoverExpiryExtractor
- BeanFactoryExpiryPolicyLookup<T> - Class in com.societegenerale.failover.core.expiry
-
Spring
BeanFactory-backed implementation ofExpiryPolicyLookup. - BeanFactoryExpiryPolicyLookup() - Constructor for class com.societegenerale.failover.core.expiry.BeanFactoryExpiryPolicyLookup
- BeanFactoryFailoverExpiryExtractor - Class in com.societegenerale.failover.core.expiry
-
AbstractFailoverExpiryExtractorthat resolves expiry expressions via Spring'sConfigurableBeanFactory.resolveEmbeddedValue(java.lang.String), supporting property placeholders (e.g. - BeanFactoryFailoverExpiryExtractor() - Constructor for class com.societegenerale.failover.core.expiry.BeanFactoryFailoverExpiryExtractor
- BeanFactoryKeyGeneratorLookup - Class in com.societegenerale.failover.core.key
-
Spring
BeanFactory-backed implementation ofKeyGeneratorLookup. - BeanFactoryKeyGeneratorLookup() - Constructor for class com.societegenerale.failover.core.key.BeanFactoryKeyGeneratorLookup
- BeanFactoryPayloadSplitterLookup<T,
R> - Class in com.societegenerale.failover.core.payload.splitter -
Spring
BeanFactory-backed implementation ofPayloadSplitterLookup. - BeanFactoryPayloadSplitterLookup() - Constructor for class com.societegenerale.failover.core.payload.splitter.BeanFactoryPayloadSplitterLookup
- bindTo(MeterRegistry) - Method in class com.societegenerale.failover.observable.micrometer.FailoverMeterBinder
-
Registers the lazy total-count gauge and stores the registry for deferred expiry-gauge binding.
- buildInsertMergeParams(ReferentialPayload<T>) - Method in class com.societegenerale.failover.store.resolver.DefaultFailoverStoreQueryResolver
- buildInsertMergeParams(ReferentialPayload<T>) - Method in interface com.societegenerale.failover.store.resolver.FailoverStoreQueryResolver
-
Builds the parameter array for INSERT and all MERGE/upsert queries.
- buildInsertMergeTypes() - Method in class com.societegenerale.failover.store.resolver.DefaultFailoverStoreQueryResolver
- buildInsertMergeTypes() - Method in interface com.societegenerale.failover.store.resolver.FailoverStoreQueryResolver
-
SQL types matching
FailoverStoreQueryResolver.buildInsertMergeParams(com.societegenerale.failover.core.payload.ReferentialPayload<T>)column order. - buildUpdateParams(ReferentialPayload<T>) - Method in class com.societegenerale.failover.store.resolver.DefaultFailoverStoreQueryResolver
- buildUpdateParams(ReferentialPayload<T>) - Method in interface com.societegenerale.failover.store.resolver.FailoverStoreQueryResolver
-
Builds the parameter array for the UPDATE query (SET columns first, then WHERE predicate).
- buildUpdateTypes() - Method in class com.societegenerale.failover.store.resolver.DefaultFailoverStoreQueryResolver
- buildUpdateTypes() - Method in interface com.societegenerale.failover.store.resolver.FailoverStoreQueryResolver
-
SQL types matching
FailoverStoreQueryResolver.buildUpdateParams(com.societegenerale.failover.core.payload.ReferentialPayload<T>)column order.
C
- CacheableManifestInfoExtractor - Class in com.societegenerale.failover.core.observable.manifest
-
ManifestInfoExtractordecorator that caches extraction results by artifact title to avoid repeated classpath scans. - CacheableManifestInfoExtractor() - Constructor for class com.societegenerale.failover.core.observable.manifest.CacheableManifestInfoExtractor
- CAFFEINE - Enum constant in enum class com.societegenerale.failover.properties.StoreType
- caffeineMultiTenantStoreFactory(FailoverClock) - Method in class com.societegenerale.failover.configuration.FailoverStoreMultiTenantAutoConfiguration
-
Registers a per-tenant Caffeine store factory (one isolated cache per tenant).
- cast(Object) - Static method in class com.societegenerale.failover.core.util.CastingUtils
-
Casts
payloadtoTwithout a checked cast warning. - CastingUtils - Class in com.societegenerale.failover.core.util
-
Utility for unchecked generic casts needed to bridge raw types at framework boundaries.
- CastingUtils() - Constructor for class com.societegenerale.failover.core.util.CastingUtils
- cause() - Method in record class com.societegenerale.failover.core.exception.MethodExceptionContext
-
Returns the value of the
causerecord component. - ClassPathResourceLoader - Class in com.societegenerale.failover.core.observable.manifest
-
ResourceLoaderthat resolves resources via the current thread's class loader. - ClassPathResourceLoader() - Constructor for class com.societegenerale.failover.core.observable.manifest.ClassPathResourceLoader
- clean() - Method in class com.societegenerale.failover.core.AdvancedFailoverHandler
- clean() - Method in class com.societegenerale.failover.core.DefaultFailoverHandler
- clean() - Method in interface com.societegenerale.failover.core.FailoverHandler
-
Removes all expired entries from the failover store.
- clean() - Method in class com.societegenerale.failover.core.ScatterGatherFailoverHandler
-
Triggers expiry cleanup on both
delegateTanddelegateR. - cleanByExpiry(Instant) - Method in class com.societegenerale.failover.core.store.DefaultFailoverStore
-
Delegates expiry-based cleanup directly to the underlying store without modification.
- cleanByExpiry(Instant) - Method in interface com.societegenerale.failover.core.store.FailoverStore
-
Evicts all entries whose expiry instant is before the given cutoff.
- cleanByExpiry(Instant) - Method in class com.societegenerale.failover.store.FailoverStoreAsync
-
Submits the cleanup operation to the executor.
- cleanByExpiry(Instant) - Method in class com.societegenerale.failover.store.FailoverStoreCaffeine
-
No-op for this implementation.
- cleanByExpiry(Instant) - Method in class com.societegenerale.failover.store.FailoverStoreInmemory
-
Evicts all entries whose
expireOninstant is strictly before the given cutoff. - cleanByExpiry(Instant) - Method in class com.societegenerale.failover.store.FailoverStoreJdbc
-
Deletes all rows whose
EXPIRE_ONis beforeexpiry. - cleanByExpiry(Instant) - Method in class com.societegenerale.failover.store.multitenant.MultiTenantFailoverStore
-
Calls
cleanByExpiryon every tenant store that has been initialised. - cleanup() - Method in class com.societegenerale.failover.scheduler.ExpiryCleanupScheduler
-
Removes expired failover entries asynchronously on the configured cron schedule.
- clear() - Static method in class com.societegenerale.failover.store.multitenant.TenantContext
-
Removes the tenant ID from this thread.
- collect(String, String) - Method in class com.societegenerale.failover.core.observable.Metrics
-
Adds a key-value pair to this metrics bag, prefixing the key with
"failover-". - com.societegenerale.failover.analyzer - package com.societegenerale.failover.analyzer
-
Spring Boot failure analyser for missing failover bean definitions.
- com.societegenerale.failover.annotations - package com.societegenerale.failover.annotations
-
Core annotations for declaring failover points.
- com.societegenerale.failover.aspect - package com.societegenerale.failover.aspect
-
Spring AOP aspect that intercepts
@Failover-annotated methods. - com.societegenerale.failover.configuration - package com.societegenerale.failover.configuration
-
Spring Boot auto-configuration for the failover framework.
- com.societegenerale.failover.core - package com.societegenerale.failover.core
-
Central failover handler and execution abstractions.
- com.societegenerale.failover.core.clock - package com.societegenerale.failover.core.clock
-
Clock abstraction for failover expiry calculations.
- com.societegenerale.failover.core.exception - package com.societegenerale.failover.core.exception
-
Exception model for method-level failover handling.
- com.societegenerale.failover.core.exception.policy - package com.societegenerale.failover.core.exception.policy
-
Pluggable policies that govern what happens when a failover method throws.
- com.societegenerale.failover.core.expiry - package com.societegenerale.failover.core.expiry
-
Expiry policy and extractor abstractions for controlling cached payload lifetime.
- com.societegenerale.failover.core.key - package com.societegenerale.failover.core.key
-
Key generation for uniquely identifying cached failover entries.
- com.societegenerale.failover.core.observable - package com.societegenerale.failover.core.observable
-
Observable SPI and core implementations for the failover lifecycle.
- com.societegenerale.failover.core.observable.manifest - package com.societegenerale.failover.core.observable.manifest
-
Manifest-based metadata extraction for the failover observable report.
- com.societegenerale.failover.core.observable.publisher - package com.societegenerale.failover.core.observable.publisher
-
Observable publisher SPI and built-in implementations.
- com.societegenerale.failover.core.observable.scanner - package com.societegenerale.failover.core.observable.scanner
-
Scanner SPI for discovering
@Failover-annotated methods. - com.societegenerale.failover.core.payload - package com.societegenerale.failover.core.payload
-
Payload envelope, enrichment, and post-recovery handling.
- com.societegenerale.failover.core.payload.splitter - package com.societegenerale.failover.core.payload.splitter
-
Scatter/gather splitter contracts and context types.
- com.societegenerale.failover.core.propagator - package com.societegenerale.failover.core.propagator
-
Thread-local context propagation for async scatter/gather dispatch.
- com.societegenerale.failover.core.store - package com.societegenerale.failover.core.store
-
Store abstraction and default in-memory implementation.
- com.societegenerale.failover.core.util - package com.societegenerale.failover.core.util
-
Internal utilities shared across the failover-core module.
- com.societegenerale.failover.domain - package com.societegenerale.failover.domain
-
Domain model for failover-aware referential data.
- com.societegenerale.failover.execution.resilience - package com.societegenerale.failover.execution.resilience
-
Resilience4j integration for failover method execution.
- com.societegenerale.failover.observable.micrometer - package com.societegenerale.failover.observable.micrometer
- com.societegenerale.failover.observable.micrometer.health - package com.societegenerale.failover.observable.micrometer.health
-
Spring Boot Actuator health indicator for the failover framework.
- com.societegenerale.failover.observable.scanner - package com.societegenerale.failover.observable.scanner
-
Spring-native
FailoverScannerimplementation. - com.societegenerale.failover.propagator - package com.societegenerale.failover.propagator
-
Auto-configured context propagators for scatter/gather async dispatch.
- com.societegenerale.failover.properties - package com.societegenerale.failover.properties
-
Configuration properties bound under the
failover.*prefix. - com.societegenerale.failover.scheduler - package com.societegenerale.failover.scheduler
-
Scheduled tasks for periodic reporting and expiry cleanup.
- com.societegenerale.failover.store - package com.societegenerale.failover.store
-
Concrete
FailoverStoreimplementations. - com.societegenerale.failover.store.mapper - package com.societegenerale.failover.store.mapper
-
Spring JDBC
RowMapperfor the failover store table. - com.societegenerale.failover.store.multitenant - package com.societegenerale.failover.store.multitenant
-
Multi-tenant failover store with per-tenant routing.
- com.societegenerale.failover.store.resolver - package com.societegenerale.failover.store.resolver
-
SQL query and column-type resolvers for the JDBC failover store.
- com.societegenerale.failover.store.serializer - package com.societegenerale.failover.store.serializer
-
Payload serialization / deserialization for the JDBC store.
- CompositeContextPropagator - Class in com.societegenerale.failover.core.propagator
-
ContextPropagatorthat chains multiple propagators, applying each in order. - CompositeContextPropagator() - Constructor for class com.societegenerale.failover.core.propagator.CompositeContextPropagator
- compositeObservablePublisher(List<ObservablePublisher>, FailoverClock) - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Registers a composite publisher that stamps the publish timestamp once and broadcasts to every
ObservablePublisherin the context. - CompositeObservablePublisher - Class in com.societegenerale.failover.core.observable.publisher
-
ObservablePublisherthat stamps the publish timestamp once and fans metrics out to a list of delegate publishers. - CompositeObservablePublisher(List<ObservablePublisher>, FailoverClock) - Constructor for class com.societegenerale.failover.core.observable.publisher.CompositeObservablePublisher
-
Creates a composite publisher that forwards to each delegate in order.
- computeExpiry(Failover) - Method in class com.societegenerale.failover.core.expiry.DefaultExpiryPolicy
- computeExpiry(Failover) - Method in interface com.societegenerale.failover.core.expiry.ExpiryPolicy
-
Computes the expiry instant for a payload stored under the given failover.
- computeExpiry(Failover) - Method in class com.societegenerale.failover.core.expiry.FailoverExpiryPolicy
- contextPropagator(ObjectProvider<TenantContextPropagator>, ObjectProvider<MicrometerContextPropagator>) - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Composes the active
ContextPropagatorfrom available propagator beans:TenantContextPropagator— present whenfailover.store.multitenant.enabled=trueMicrometerContextPropagator— present whenio.micrometer.tracing.Traceris on classpath and aTracerbean existsMdcContextPropagator— always included Declare your ownContextPropagatorbean to replace this composition entirely. - ContextPropagator - Interface in com.societegenerale.failover.core.propagator
-
Strategy for propagating thread-bound context (tenant ID, security principal, MDC trace) across executor boundaries in scatter/gather operations.
- Context propagator - Search tag in class com.societegenerale.failover.core.ScatterGatherFailoverHandler
- Section
- copy() - Method in class com.societegenerale.failover.core.payload.ReferentialPayload
-
Creates a shallow copy of this payload, preserving all field values.
- create(String) - Method in interface com.societegenerale.failover.store.multitenant.TenantStoreFactory
-
Creates a raw
FailoverStorefor the giventenantId. - CUSTOM - Enum constant in enum class com.societegenerale.failover.properties.ExceptionPolicy
-
For any other custom implementation, please use custom type
- CUSTOM - Enum constant in enum class com.societegenerale.failover.properties.FailoverType
-
For any other custom implementation, please use custom type
- CUSTOM - Enum constant in enum class com.societegenerale.failover.properties.StoreType
D
- DatabaseResolver - Interface in com.societegenerale.failover.store.resolver
-
Strategy for detecting the underlying database product name from a live JDBC connection.
- decorateSupplier(Failover, Supplier<T>, List<Object>) - Method in class com.societegenerale.failover.core.BasicFailoverExecution
-
Extension point for subclasses to wrap the supplier (e.g. to add context propagation).
- decorateSupplier(Failover, Supplier<T>, List<Object>) - Method in class com.societegenerale.failover.execution.resilience.ResilienceFailoverExecution
- Decorator chain - Search tag in class com.societegenerale.failover.store.multitenant.MultiTenantFailoverStore
- Section
- Decorator chain — four modes - Search tag in class com.societegenerale.failover.configuration.FailoverStoreAutoConfiguration
- Section
- DefaultDatabaseResolver - Class in com.societegenerale.failover.store.resolver
-
Default
DatabaseResolverthat reads the database product name from JDBC connection metadata. - DefaultDatabaseResolver() - Constructor for class com.societegenerale.failover.store.resolver.DefaultDatabaseResolver
- defaultExpiryPolicy(FailoverClock, FailoverExpiryExtractor) - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Creates the default expiry policy bean.
- DefaultExpiryPolicy<T> - Class in com.societegenerale.failover.core.expiry
-
Default
ExpiryPolicythat computes expiry by adding the annotation-configured duration to the current clock time, and checks expiry against the current clock. - DefaultExpiryPolicy() - Constructor for class com.societegenerale.failover.core.expiry.DefaultExpiryPolicy
- DefaultFailoverClock - Class in com.societegenerale.failover.core.clock
-
Default
FailoverClockthat returns the current UTC instant from the system clock. - DefaultFailoverClock() - Constructor for class com.societegenerale.failover.core.clock.DefaultFailoverClock
- DefaultFailoverHandler<T> - Class in com.societegenerale.failover.core
-
Default
FailoverHandlerthat persists payloads to the failover store on success and retrieves them on failure, applying expiry checks and payload enrichment. - DefaultFailoverHandler() - Constructor for class com.societegenerale.failover.core.DefaultFailoverHandler
- DefaultFailoverObserver - Class in com.societegenerale.failover.core.observable
-
Default
FailoverObserverthat scans for all@Failover-annotated methods and publishes a startup summary metric for each one. - DefaultFailoverObserver(ObservablePublisher, FailoverScanner, FailoverClock, ManifestInfoExtractor, FailoverExpiryExtractor, Map<String, String>) - Constructor for class com.societegenerale.failover.core.observable.DefaultFailoverObserver
-
Creates a reporter with all required collaborators.
- DefaultFailoverStore<T> - Class in com.societegenerale.failover.core.store
-
Default
FailoverStoredecorator that ensures every payload written to or read from the delegate store has itsupToDateflag forced tofalse. - DefaultFailoverStore() - Constructor for class com.societegenerale.failover.core.store.DefaultFailoverStore
- DefaultFailoverStoreQueryResolver - Class in com.societegenerale.failover.store.resolver
-
Default
FailoverStoreQueryResolverthat resolves all JDBC queries against a given table prefix, selects the appropriate native merge/upsert dialect for the detected database, and owns all parameter binding and result-set mapping logic. - DefaultFailoverStoreQueryResolver(String, Serializer, DatabaseResolver, PayloadColumnResolver) - Constructor for class com.societegenerale.failover.store.resolver.DefaultFailoverStoreQueryResolver
-
Constructs the resolver: substitutes
tablePrefixinto all SQL templates and selects the appropriate merge dialect from the database product name. - defaultKeyGenerator() - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Creates the default key generator bean.
- DefaultKeyGenerator - Class in com.societegenerale.failover.core.key
-
Default
KeyGeneratorthat derives a cache key from method arguments. - DefaultKeyGenerator() - Constructor for class com.societegenerale.failover.core.key.DefaultKeyGenerator
- DefaultManifestInfoExtractor - Class in com.societegenerale.failover.core.observable.manifest
-
ManifestInfoExtractorthat searches allMETA-INF/MANIFEST.MFresources on the classpath for an entry whoseImplementation-Titlematches the requested title. - DefaultManifestInfoExtractor(ResourceLoader) - Constructor for class com.societegenerale.failover.core.observable.manifest.DefaultManifestInfoExtractor
-
Creates an extractor backed by the given resource loader.
- DefaultPayloadEnricher<T> - Class in com.societegenerale.failover.core.payload
-
Default
PayloadEnricherthat propagates failover metadata (upToDate,asOf, exception info) into payloads that implementReferentialorReferentialAware. - DefaultPayloadEnricher() - Constructor for class com.societegenerale.failover.core.payload.DefaultPayloadEnricher
- Defensive copies - Search tag in class com.societegenerale.failover.store.FailoverStoreCaffeine
- Section
- delete(ReferentialPayload<T>) - Method in class com.societegenerale.failover.core.store.DefaultFailoverStore
-
Deletes a copy of the given payload with
upToDateforced tofalse, then delegates to the underlying store. - delete(ReferentialPayload<T>) - Method in interface com.societegenerale.failover.core.store.FailoverStore
-
Removes a referential payload entry from the store.
- delete(ReferentialPayload<T>) - Method in class com.societegenerale.failover.store.FailoverStoreAsync
-
Submits the delete operation to the executor.
- delete(ReferentialPayload<T>) - Method in class com.societegenerale.failover.store.FailoverStoreCaffeine
-
Invalidates the cache entry for the given payload.
- delete(ReferentialPayload<T>) - Method in class com.societegenerale.failover.store.FailoverStoreInmemory
-
Removes the entry for the given payload's (
name,key) pair. - delete(ReferentialPayload<T>) - Method in class com.societegenerale.failover.store.FailoverStoreJdbc
-
Deletes the row identified by the payload's
nameandkey. - delete(ReferentialPayload<T>) - Method in class com.societegenerale.failover.store.multitenant.MultiTenantFailoverStore
-
Deletes the payload from the current tenant's failover store.
- deserialize(String, Class<T>) - Method in class com.societegenerale.failover.store.serializer.JsonSerializer
-
Deserializes
payloadback to an instance ofclazz. - deserialize(String, Class<T>) - Method in interface com.societegenerale.failover.store.serializer.Serializer
-
Deserializes
payloadback to an instance ofclazz. - domain() - Element in annotation interface com.societegenerale.failover.annotations.Failover
-
Optional logical domain for store partitioning.
- doPublish(Metrics) - Method in class com.societegenerale.failover.core.observable.publisher.AbstractObservablePublisher
-
Performs the actual publishing of the timestamped metrics.
- doPublish(Metrics) - Method in class com.societegenerale.failover.core.observable.publisher.MdcLoggerObservablePublisher
E
- effectiveName(Failover) - Static method in class com.societegenerale.failover.core.util.FailoverNameResolver
-
Returns
failover.domain()when non-blank, otherwisefailover.name(). - Effective table name (TABLE_PREFIX strategy) - Search tag in class com.societegenerale.failover.properties.TenantConfig
- Section
- enrichOnRecover(Failover, Class<T>, ReferentialPayload<T>, Throwable) - Method in class com.societegenerale.failover.core.payload.DefaultPayloadEnricher
- enrichOnRecover(Failover, Class<T>, ReferentialPayload<T>, Throwable) - Method in interface com.societegenerale.failover.core.payload.PayloadEnricher
-
Enriches the payload after it has been recovered from the failover store.
- enrichOnStore(Failover, Class<T>, ReferentialPayload<T>) - Method in class com.societegenerale.failover.core.payload.DefaultPayloadEnricher
- enrichOnStore(Failover, Class<T>, ReferentialPayload<T>) - Method in interface com.societegenerale.failover.core.payload.PayloadEnricher
-
Enriches the payload before it is written to the failover store.
- equals(Object) - Method in record class com.societegenerale.failover.core.exception.MethodExceptionContext
-
Indicates whether some other object is "equal to" this one.
- Event discrimination - Search tag in class com.societegenerale.failover.observable.micrometer.MicrometerObservablePublisher
- Section
- Example — tenant + MDC - Search tag in class com.societegenerale.failover.core.propagator.CompositeContextPropagator
- Section
- Example — tenant propagator - Search tag in interface com.societegenerale.failover.core.propagator.ContextPropagator
- Section
- Example wiring - Search tag in class com.societegenerale.failover.store.multitenant.TenantContextTenantResolver
- Section
- ExceptionPolicy - Enum Class in com.societegenerale.failover.properties
-
Strategy that governs how the failover framework handles exceptions thrown by the primary method when recovery is unavailable or the stored entry has expired.
- execute(Failover, Supplier<T>, Method, List<Object>) - Method in class com.societegenerale.failover.core.BasicFailoverExecution
- execute(Failover, Supplier<T>, Method, List<Object>) - Method in interface com.societegenerale.failover.core.FailoverExecution
-
Executes the given supplier with failover protection.
- ExecutionException - Exception Class in com.societegenerale.failover.aspect
-
Wraps a
Throwablethrown during the actual method execution inside the failover aspect. - ExecutionException(String, Throwable) - Constructor for exception class com.societegenerale.failover.aspect.ExecutionException
-
Creates an exception with the given detail message and cause.
- ExpiryCleanupScheduler<T> - Class in com.societegenerale.failover.scheduler
-
Spring scheduler that periodically removes expired entries from the failover store via
FailoverHandler.clean(). - ExpiryCleanupScheduler() - Constructor for class com.societegenerale.failover.scheduler.ExpiryCleanupScheduler
- expiryDuration() - Element in annotation interface com.societegenerale.failover.annotations.Failover
-
The expiry duration for computing the expiry of the entities stored in the failover store.
- expiryDuration(Failover) - Method in class com.societegenerale.failover.core.expiry.AbstractFailoverExpiryExtractor
- expiryDuration(Failover) - Method in interface com.societegenerale.failover.core.expiry.FailoverExpiryExtractor
-
Returns the expiry duration configured on the annotation.
- expiryDurationExpression() - Element in annotation interface com.societegenerale.failover.annotations.Failover
-
The expiry duration expression for computing the expiry of the entities stored in the failover store.
- expiryPolicy() - Element in annotation interface com.societegenerale.failover.annotations.Failover
-
The bean name of the custom
ExpiryPolicyto use. - ExpiryPolicy<T> - Interface in com.societegenerale.failover.core.expiry
-
Strategy for computing and checking expiry of stored failover payloads.
- expiryPolicyLookup() - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Creates the expiry-policy lookup bean.
- ExpiryPolicyLookup<T> - Interface in com.societegenerale.failover.core.expiry
-
Strategy for resolving an
ExpiryPolicyby qualifier or bean name. - ExpiryPolicyNotFoundException - Exception Class in com.societegenerale.failover.core.expiry
-
Thrown when no
ExpiryPolicybean is found for the qualifier specified in a@Failoverannotation. - ExpiryPolicyNotFoundException(String) - Constructor for exception class com.societegenerale.failover.core.expiry.ExpiryPolicyNotFoundException
-
Creates an exception with the given detail message.
- expiryUnit() - Element in annotation interface com.societegenerale.failover.annotations.Failover
-
The expiry unit for computing the expiry of the entities stored in the failover store.
- expiryUnit(Failover) - Method in class com.societegenerale.failover.core.expiry.AbstractFailoverExpiryExtractor
- expiryUnit(Failover) - Method in interface com.societegenerale.failover.core.expiry.FailoverExpiryExtractor
-
Returns the time unit for the expiry duration configured on the annotation.
- expiryUnitExpression() - Element in annotation interface com.societegenerale.failover.annotations.Failover
-
The expiry unit expression for computing the expiry of the entities stored in the failover store.
- extract(String) - Method in class com.societegenerale.failover.core.observable.manifest.CacheableManifestInfoExtractor
- extract(String) - Method in class com.societegenerale.failover.core.observable.manifest.DefaultManifestInfoExtractor
- extract(String) - Method in interface com.societegenerale.failover.core.observable.manifest.ManifestInfoExtractor
-
Returns build metadata (title, version, etc.) for the artifact with the given title.
- extractPayload(Class<T>, ReferentialPayload<T>) - Method in class com.societegenerale.failover.core.payload.DefaultPayloadEnricher
-
Extracts the payload from the referential wrapper.
- extractPayload(ResultSet, String) - Method in interface com.societegenerale.failover.store.resolver.PayloadColumnResolver
-
Extracts the payload value from the current row of the given result set.
- extractPayload(ResultSet, String) - Method in class com.societegenerale.failover.store.resolver.VarcharPayloadColumnResolver
F
- failover() - Method in record class com.societegenerale.failover.core.exception.MethodExceptionContext
-
Returns the value of the
failoverrecord component. - Failover - Annotation Interface in com.societegenerale.failover.annotations
-
Annotation for handling the failover of the invoking a method.
- failoverAroundAdvice(ProceedingJoinPoint, Failover) - Method in class com.societegenerale.failover.aspect.FailoverAspect
-
Around advice applied to all methods annotated with
Failover. - failoverAspect(FailoverExecution<Object>) - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Registers the AOP aspect that intercepts
@Failover-annotated methods. - FailoverAspect<T> - Class in com.societegenerale.failover.aspect
-
AspectJ around-advice that intercepts methods annotated with
Failoverand delegates execution to the configuredFailoverExecutionstrategy. - FailoverAspect() - Constructor for class com.societegenerale.failover.aspect.FailoverAspect
- FailoverAutoConfiguration - Class in com.societegenerale.failover.configuration
-
Root Spring Boot autoconfiguration for the failover framework.
- FailoverAutoConfiguration() - Constructor for class com.societegenerale.failover.configuration.FailoverAutoConfiguration
- failoverClock() - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Creates the default failover clock bean.
- FailoverClock - Interface in com.societegenerale.failover.core.clock
-
Abstraction over the system clock used by the failover framework for computing and comparing expiry timestamps.
- failoverExecution(FailoverHandler<Object>, MethodExceptionHandler) - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Registers
BasicFailoverExecution, active whenfailover.type=basic(the default). - failoverExecution(FailoverHandler<Object>, MethodExceptionHandler, CircuitBreakerRegistry) - Method in class com.societegenerale.failover.configuration.ResilienceFailoverExecutionAutoConfiguration
-
Registers
ResilienceFailoverExecutionbacked by the application'sCircuitBreakerRegistry. - FailoverExecution<T> - Interface in com.societegenerale.failover.core
-
Strategy for executing a method call with failover semantics.
- failoverExpiryExtractor() - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Creates the failover expiry extractor bean.
- FailoverExpiryExtractor - Interface in com.societegenerale.failover.core.expiry
-
Extracts expiry configuration (duration and unit) from a
@Failoverannotation. - failoverExpiryPolicy(ExpiryPolicy<Object>, ExpiryPolicyLookup<Object>) - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Creates the composite failover expiry policy.
- FailoverExpiryPolicy<T> - Class in com.societegenerale.failover.core.expiry
-
Composite
ExpiryPolicythat delegates to a named policy from the lookup when@Failover#expiryPolicy()is set, falling back to the default policy otherwise. - FailoverExpiryPolicy() - Constructor for class com.societegenerale.failover.core.expiry.FailoverExpiryPolicy
- FailoverFailureAnalyzer - Class in com.societegenerale.failover.analyzer
-
Spring Boot
FailureAnalyzerthat produces actionable startup diagnostics when a required failover bean is missing. - FailoverFailureAnalyzer() - Constructor for class com.societegenerale.failover.analyzer.FailoverFailureAnalyzer
-
No-arg constructor for Spring failure-analyzer instantiation via service-loader.
- failoverHandler(KeyGenerator, ExpiryPolicy<Object>, FailoverClock, FailoverStore<Object>, PayloadEnricher<Object>, RecoveredPayloadHandler, CompositeObservablePublisher, FailoverExpiryExtractor, PayloadSplitterLookup<Object, Object>, ContextPropagator, ObjectProvider<TaskExecutor>) - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Assembles the full
FailoverHandlerdecorator chain:AdvancedFailoverHandler(ScatterGatherFailoverHandler(DefaultFailoverHandler)). - FailoverHandler<T> - Interface in com.societegenerale.failover.core
-
Core handler for failover lifecycle operations: storing payloads, recovering them on failure, and cleaning up expired entries.
- FailoverHealthIndicator - Class in com.societegenerale.failover.observable.micrometer.health
-
Spring Boot Actuator
HealthIndicatorfor the failover framework. - FailoverHealthIndicator(FailoverScanner) - Constructor for class com.societegenerale.failover.observable.micrometer.health.FailoverHealthIndicator
-
Creates a health indicator backed by the given scanner.
- failoverKeyGenerator(KeyGenerator, KeyGeneratorLookup) - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Creates the composite failover key generator.
- FailoverKeyGenerator - Class in com.societegenerale.failover.core.key
-
Primary
KeyGeneratorthat orchestrates key generation for a failover operation. - FailoverKeyGenerator() - Constructor for class com.societegenerale.failover.core.key.FailoverKeyGenerator
- failoverMeterBinder(FailoverScanner, FailoverExpiryExtractor) - Method in class com.societegenerale.failover.configuration.FailoverMicrometerAutoConfiguration
-
Binds
failover.registered.totaland per-failoverfailover.config.expiry.secondsgauges to the registry. - FailoverMeterBinder - Class in com.societegenerale.failover.observable.micrometer
-
MeterBinderthat exposes static failover configuration as Micrometer gauges. - FailoverMeterBinder(FailoverScanner, FailoverExpiryExtractor) - Constructor for class com.societegenerale.failover.observable.micrometer.FailoverMeterBinder
-
Creates a binder with the required scanner and expiry extractor.
- FailoverMicrometerAutoConfiguration - Class in com.societegenerale.failover.configuration
-
Autoconfiguration for Micrometer-based failover metrics.
- FailoverMicrometerAutoConfiguration() - Constructor for class com.societegenerale.failover.configuration.FailoverMicrometerAutoConfiguration
- FailoverNameResolver - Class in com.societegenerale.failover.core.util
-
Resolves the effective store namespace for a
Failoverannotation. - failoverObserver(CompositeObservablePublisher, FailoverScanner, FailoverClock, ManifestInfoExtractor, FailoverExpiryExtractor, FailoverProperties) - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Creates the failover reporter bean that publishes a startup summary.
- FailoverObserver - Interface in com.societegenerale.failover.core.observable
-
Publishes a startup summary of all detected
@Failoverconfigurations. - FailoverProperties - Class in com.societegenerale.failover.properties
-
Root configuration properties for the failover framework, bound to the
failoverprefix. - FailoverProperties() - Constructor for class com.societegenerale.failover.properties.FailoverProperties
- failoverScanner() - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Registers a Spring-native scanner that locates all
@Failover-annotated methods by walking the already-builtApplicationContext. - FailoverScanner - Interface in com.societegenerale.failover.core.observable.scanner
-
Scans the application classpath for methods annotated with
Failoverand provides lookup by name. - FailoverScannerException - Exception Class in com.societegenerale.failover.core.observable.scanner
-
Thrown when the
FailoverScannerencounters an error during Spring context scanning or detects duplicate@Failovernames. - FailoverScannerException(String) - Constructor for exception class com.societegenerale.failover.core.observable.scanner.FailoverScannerException
-
Creates an exception with the given detail message.
- FailoverStore<T> - Interface in com.societegenerale.failover.core.store
-
Persistence contract for failover referential data.
- FailoverStoreAsync<T> - Class in com.societegenerale.failover.store
-
FailoverStoredecorator that offloads write operations (FailoverStoreAsync.store(com.societegenerale.failover.core.payload.ReferentialPayload<T>),FailoverStoreAsync.delete(com.societegenerale.failover.core.payload.ReferentialPayload<T>),FailoverStoreAsync.cleanByExpiry(java.time.Instant)) to aTaskExecutor, keeping the calling thread unblocked. - FailoverStoreAsync() - Constructor for class com.societegenerale.failover.store.FailoverStoreAsync
- FailoverStoreAutoConfiguration - Class in com.societegenerale.failover.configuration
-
Central assembler that creates the single
FailoverStore<Object>bean by combining aTenantStoreFactory(raw store) with the standard decorator chain (DefaultFailoverStore+ optionallyFailoverStoreAsyncand/orMultiTenantFailoverStore). - FailoverStoreAutoConfiguration() - Constructor for class com.societegenerale.failover.configuration.FailoverStoreAutoConfiguration
- FailoverStoreCaffeine<T> - Class in com.societegenerale.failover.store
-
FailoverStoreimplementation backed by a single Caffeine in-memory cache. - FailoverStoreCaffeine(FailoverClock) - Constructor for class com.societegenerale.failover.store.FailoverStoreCaffeine
-
Constructs a
FailoverStoreCaffeineand initialises the underlying Caffeine cache with a per-entryExpirypolicy backed by the given clock. - FailoverStoreException - Exception Class in com.societegenerale.failover.core.store
-
Thrown when a
FailoverStoreoperation (store, find, delete, or clean) fails. - FailoverStoreException(String) - Constructor for exception class com.societegenerale.failover.core.store.FailoverStoreException
-
Creates an exception with the given detail message.
- FailoverStoreException(String, Throwable) - Constructor for exception class com.societegenerale.failover.core.store.FailoverStoreException
-
Creates an exception with the given detail message and cause.
- FailoverStoreInmemory<T> - Class in com.societegenerale.failover.store
-
FailoverStoreimplementation backed by a plainConcurrentHashMap. - FailoverStoreInmemory() - Constructor for class com.societegenerale.failover.store.FailoverStoreInmemory
- FailoverStoreJdbc<T> - Class in com.societegenerale.failover.store
-
JDBC-backed
FailoverStoreimplementation. - FailoverStoreJdbc(JdbcTemplate, FailoverStoreQueryResolver, RowMapper<ReferentialPayload<T>>) - Constructor for class com.societegenerale.failover.store.FailoverStoreJdbc
-
Constructs the store and resolves the merge query at construction time.
- FailoverStoreMultiTenantAutoConfiguration - Class in com.societegenerale.failover.configuration
-
Autoconfiguration that activates when
failover.store.multitenant.enabled=true. - FailoverStoreMultiTenantAutoConfiguration() - Constructor for class com.societegenerale.failover.configuration.FailoverStoreMultiTenantAutoConfiguration
- FailoverStoreQueryResolver - Interface in com.societegenerale.failover.store.resolver
-
Contract for resolving JDBC queries, binding parameters, and mapping result-set rows for the failover store.
- failoverTaskExecutor() - Method in class com.societegenerale.failover.configuration.FailoverStoreAutoConfiguration
-
Default
TaskExecutorfor async store operations. - FailoverType - Enum Class in com.societegenerale.failover.properties
-
This describes the type of failover
- find(String, String) - Method in class com.societegenerale.failover.core.store.DefaultFailoverStore
-
Looks up a payload by name and key, returning a copy with
upToDateforced tofalseif found. - find(String, String) - Method in interface com.societegenerale.failover.core.store.FailoverStore
-
Looks up a referential payload by its logical name and key.
- find(String, String) - Method in class com.societegenerale.failover.store.FailoverStoreAsync
-
Executes find synchronously on the calling thread — the result is needed immediately.
- find(String, String) - Method in class com.societegenerale.failover.store.FailoverStoreCaffeine
-
Looks up a payload by referential name and key.
- find(String, String) - Method in class com.societegenerale.failover.store.FailoverStoreInmemory
-
Looks up a payload by name and key, returning a defensive copy if found.
- find(String, String) - Method in class com.societegenerale.failover.store.FailoverStoreJdbc
-
Looks up the payload for the given
nameandkey. - find(String, String) - Method in class com.societegenerale.failover.store.multitenant.MultiTenantFailoverStore
-
Looks up a payload by name and key in the current tenant's failover store.
- findAll(String) - Method in class com.societegenerale.failover.core.store.DefaultFailoverStore
- findAll(String) - Method in interface com.societegenerale.failover.core.store.FailoverStore
- findAll(String) - Method in class com.societegenerale.failover.store.FailoverStoreAsync
- findAll(String) - Method in class com.societegenerale.failover.store.FailoverStoreCaffeine
- findAll(String) - Method in class com.societegenerale.failover.store.FailoverStoreInmemory
- findAll(String) - Method in class com.societegenerale.failover.store.FailoverStoreJdbc
- findAll(String) - Method in class com.societegenerale.failover.store.multitenant.MultiTenantFailoverStore
- findAllFailover() - Method in interface com.societegenerale.failover.core.observable.scanner.FailoverScanner
-
Returns all
Failoverannotations discovered during scanning. - findAllFailover() - Method in class com.societegenerale.failover.observable.scanner.SpringContextFailoverScanner
- findFailoverByName(String) - Method in interface com.societegenerale.failover.core.observable.scanner.FailoverScanner
-
Returns the
Failoverannotation with the given name, ornullif not found. - findFailoverByName(String) - Method in class com.societegenerale.failover.observable.scanner.SpringContextFailoverScanner
- FixedTenantResolver - Class in com.societegenerale.failover.store.multitenant
-
TenantResolverthat always returns the same literal tenant ID. - FixedTenantResolver() - Constructor for class com.societegenerale.failover.store.multitenant.FixedTenantResolver
G
- get() - Static method in class com.societegenerale.failover.store.multitenant.TenantContext
-
Returns the current tenant ID for this thread.
- getCleanUpQuery() - Method in interface com.societegenerale.failover.store.resolver.FailoverStoreQueryResolver
- getDeleteQuery() - Method in interface com.societegenerale.failover.store.resolver.FailoverStoreQueryResolver
- getInfo() - Method in class com.societegenerale.failover.core.observable.Metrics
-
Returns an unmodifiable view of all collected metric entries.
- getInsertQuery() - Method in interface com.societegenerale.failover.store.resolver.FailoverStoreQueryResolver
- getMergeQuery() - Method in interface com.societegenerale.failover.store.resolver.FailoverStoreQueryResolver
-
Native merge/upsert query for the detected database dialect, or
nullwhen no known dialect is available — the store falls back to INSERT + UPDATE on duplicate in that case. - getOrder() - Method in class com.societegenerale.failover.analyzer.FailoverFailureAnalyzer
- getResourcesUrls(String) - Method in class com.societegenerale.failover.core.observable.manifest.ClassPathResourceLoader
- getResourcesUrls(String) - Method in interface com.societegenerale.failover.core.observable.manifest.ResourceLoader
-
Returns all resource URLs registered under the given name on the classpath.
- getSelectAllByNameQuery() - Method in interface com.societegenerale.failover.store.resolver.FailoverStoreQueryResolver
- getSelectQuery() - Method in interface com.societegenerale.failover.store.resolver.FailoverStoreQueryResolver
- getUpdateQuery() - Method in interface com.societegenerale.failover.store.resolver.FailoverStoreQueryResolver
H
- handle(Failover, List<Object>, Class<T>, T, Throwable) - Method in class com.societegenerale.failover.core.payload.PassThroughRecoveredPayloadHandler
- handle(Failover, List<Object>, Class<T>, T, Throwable) - Method in interface com.societegenerale.failover.core.payload.RecoveredPayloadHandler
-
Handles the recovered payload after a failover recovery attempt.
- handle(MethodExceptionContext<T>) - Method in class com.societegenerale.failover.core.exception.MethodExceptionHandler
-
Handles the exception from a failed primary method call by delegating to the configured policy.
- handle(MethodExceptionContext<T>) - Method in interface com.societegenerale.failover.core.exception.policy.MethodExceptionPolicy
-
Handles the exception context and returns the value to return to the caller, or throws to propagate the failure.
- handle(MethodExceptionContext<T>) - Method in class com.societegenerale.failover.core.exception.policy.NeverRethrowMethodExceptionPolicy
- handle(MethodExceptionContext<T>) - Method in class com.societegenerale.failover.core.exception.policy.RethrowIfNoRecoveryMethodExceptionPolicy
- hashCode() - Method in record class com.societegenerale.failover.core.exception.MethodExceptionContext
-
Returns a hash code value for this object.
- health() - Method in class com.societegenerale.failover.observable.micrometer.health.FailoverHealthIndicator
I
- INMEMORY - Enum constant in enum class com.societegenerale.failover.properties.StoreType
- inmemoryMultiTenantStoreFactory() - Method in class com.societegenerale.failover.configuration.FailoverStoreMultiTenantAutoConfiguration
-
Registers a per-tenant in-memory store factory (one independent map per tenant).
- isExpired(Failover, ReferentialPayload<T>) - Method in class com.societegenerale.failover.core.expiry.DefaultExpiryPolicy
- isExpired(Failover, ReferentialPayload<T>) - Method in interface com.societegenerale.failover.core.expiry.ExpiryPolicy
-
Returns
trueif the stored payload has expired. - isExpired(Failover, ReferentialPayload<T>) - Method in class com.societegenerale.failover.core.expiry.FailoverExpiryPolicy
J
- Jdbc - Class in com.societegenerale.failover.properties
-
JDBC store configuration properties.
- Jdbc() - Constructor for class com.societegenerale.failover.properties.Jdbc
- JDBC - Enum constant in enum class com.societegenerale.failover.properties.StoreType
- jdbcMultiTenantStoreFactory(FailoverProperties, JdbcTemplate, Serializer, DatabaseResolver, PayloadColumnResolver, RowMapper<ReferentialPayload<Object>>) - Method in class com.societegenerale.failover.configuration.FailoverStoreMultiTenantAutoConfiguration
-
Auto-configured JDBC
TenantStoreFactoryfor theTABLE_PREFIXstrategy. - JsonSerializer - Class in com.societegenerale.failover.store.serializer
-
Jackson-backed
Serializerthat converts payloads to/from JSON using a providedObjectMapper. - JsonSerializer() - Constructor for class com.societegenerale.failover.store.serializer.JsonSerializer
K
- key(Failover, List<Object>) - Method in class com.societegenerale.failover.core.key.DefaultKeyGenerator
-
Generates a cache key by converting each argument to its string representation and joining all arguments with
":". - key(Failover, List<Object>) - Method in class com.societegenerale.failover.core.key.FailoverKeyGenerator
-
Resolves the appropriate
KeyGeneratorand returns the final UUID key. - key(Failover, List<Object>) - Method in interface com.societegenerale.failover.core.key.KeyGenerator
-
Generates a raw cache key for the given failover call.
- keyGenerator() - Element in annotation interface com.societegenerale.failover.annotations.Failover
-
The bean name of the custom
KeyGeneratorto use. - KeyGenerator - Interface in com.societegenerale.failover.core.key
-
Strategy interface for generating a cache key from a failover operation's method arguments.
- keyGeneratorLookup() - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Creates the key-generator lookup bean.
- KeyGeneratorLookup - Interface in com.societegenerale.failover.core.key
-
Strategy for resolving a
KeyGeneratorby qualifier or bean name. - KeyGeneratorNotFoundException - Exception Class in com.societegenerale.failover.core.key
-
Thrown when no
KeyGeneratorbean is found for the qualifier specified in a@Failoverannotation. - KeyGeneratorNotFoundException(String) - Constructor for exception class com.societegenerale.failover.core.key.KeyGeneratorNotFoundException
-
Creates an exception with the given detail message.
L
- Lifecycle ordering - Search tag in class com.societegenerale.failover.observable.micrometer.FailoverMeterBinder
- Section
- loggerObservablePublisher() - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Registers a
ObservablePublisherthat writes failover reports to SLF4J. - lookup(String) - Method in class com.societegenerale.failover.core.expiry.BeanFactoryExpiryPolicyLookup
-
Returns the
ExpiryPolicybean registered undername. - lookup(String) - Method in interface com.societegenerale.failover.core.expiry.ExpiryPolicyLookup
- lookup(String) - Method in class com.societegenerale.failover.core.key.BeanFactoryKeyGeneratorLookup
-
Returns the
KeyGeneratorbean registered undername. - lookup(String) - Method in interface com.societegenerale.failover.core.key.KeyGeneratorLookup
- lookup(String) - Method in class com.societegenerale.failover.core.payload.splitter.BeanFactoryPayloadSplitterLookup
-
Returns the
PayloadSplitterbean registered undername. - lookup(String) - Method in interface com.societegenerale.failover.core.payload.splitter.PayloadSplitterLookup
M
- manifestInfoExtractor(ResourceLoader) - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Registers a caching manifest extractor for reading build metadata from
MANIFEST.MF. - ManifestInfoExtractor - Interface in com.societegenerale.failover.core.observable.manifest
-
Extracts build metadata from
META-INF/MANIFEST.MFfor a given artifact title. - mapRow(ResultSet, int) - Method in class com.societegenerale.failover.store.mapper.ReferentialPayloadRowMapper
-
Maps the current
ResultSetrow to aReferentialPayload. - MdcContextPropagator - Class in com.societegenerale.failover.core.propagator
-
ContextPropagatorthat propagates the SLF4J Mapped Diagnostic Context (MDC) across executor boundaries in scatter/gather operations. - MdcContextPropagator() - Constructor for class com.societegenerale.failover.core.propagator.MdcContextPropagator
- MdcLoggerObservablePublisher - Class in com.societegenerale.failover.core.observable.publisher
-
AbstractObservablePublisherthat publishes failover metrics by writing each metric entry into the MDC before emitting a single INFO log line, then restoring the prior MDC state. - MdcLoggerObservablePublisher() - Constructor for class com.societegenerale.failover.core.observable.publisher.MdcLoggerObservablePublisher
- merge(List<RecoverContext<R>>) - Method in interface com.societegenerale.failover.core.payload.splitter.PayloadSplitter
-
Merges individually recovered slice contexts back into a single composite result.
- Metadata - Class in com.societegenerale.failover.domain
-
Key-value bag for additional metadata attached to recovered failover payloads.
- Metadata() - Constructor for class com.societegenerale.failover.domain.Metadata
- Meters emitted - Search tag in class com.societegenerale.failover.observable.micrometer.MicrometerObservablePublisher
- Section
- Meters registered - Search tag in class com.societegenerale.failover.observable.micrometer.FailoverMeterBinder
- Section
- method() - Method in record class com.societegenerale.failover.core.exception.MethodExceptionContext
-
Returns the value of the
methodrecord component. - MethodExceptionContext<T> - Record Class in com.societegenerale.failover.core.exception
-
Carries all contextual information available at the point where a method exception is handled.
- MethodExceptionContext(Failover, Method, List<Object>, T, Throwable) - Constructor for record class com.societegenerale.failover.core.exception.MethodExceptionContext
-
Creates an instance of a
MethodExceptionContextrecord class. - methodExceptionHandler(MethodExceptionPolicy) - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Registers the
MethodExceptionHandlerthat applies the active exception policy. - MethodExceptionHandler - Class in com.societegenerale.failover.core.exception
-
Default
MethodExceptionPolicy— graceful handling with no exception propagator. - MethodExceptionHandler() - Constructor for class com.societegenerale.failover.core.exception.MethodExceptionHandler
- MethodExceptionPolicy - Interface in com.societegenerale.failover.core.exception.policy
-
Strategy for deciding the final outcome after a primary method call fails and failover recovery has been attempted.
- Metrics - Class in com.societegenerale.failover.core.observable
-
Mutable key-value bag for failover metrics, keyed with a
"failover-"prefix. - micrometerContextPropagator(Tracer) - Method in class com.societegenerale.failover.configuration.MicrometerTracingAutoConfiguration
-
Registers a
MicrometerContextPropagatorthat carries the active span across scatter executor threads. - MicrometerContextPropagator - Class in com.societegenerale.failover.propagator
-
ContextPropagatorthat propagates the active MicrometerSpanacross executor boundaries in scatter/gather operations. - MicrometerContextPropagator(Tracer) - Constructor for class com.societegenerale.failover.propagator.MicrometerContextPropagator
-
Creates a propagator backed by the given tracer.
- micrometerObservablePublisher(MeterRegistry) - Method in class com.societegenerale.failover.configuration.FailoverMicrometerAutoConfiguration
-
Emits
failover.store.total,failover.recover.total,failover.exception.total, andfailover.operation.durationmeters. - MicrometerObservablePublisher - Class in com.societegenerale.failover.observable.micrometer
-
ObservablePublisherthat emits real Micrometer meters on every store/recover event. - MicrometerObservablePublisher(MeterRegistry) - Constructor for class com.societegenerale.failover.observable.micrometer.MicrometerObservablePublisher
-
Creates a publisher that records meters in the given registry.
- MicrometerTracingAutoConfiguration - Class in com.societegenerale.failover.configuration
-
Autoconfiguration that registers
MicrometerContextPropagatorwhenio.micrometer.tracing.Traceris on the classpath and aTracerbean exists. - MicrometerTracingAutoConfiguration() - Constructor for class com.societegenerale.failover.configuration.MicrometerTracingAutoConfiguration
- MultiTenant - Class in com.societegenerale.failover.properties
-
Multitenant failover store configuration — a
Store-level concern independent of the backing store technology (JDBC, Caffeine, InMemory). - MultiTenant() - Constructor for class com.societegenerale.failover.properties.MultiTenant
-
No-arg constructor for Spring property binding.
- MultiTenant.JdbcMultiTenantStrategy - Enum Class in com.societegenerale.failover.properties
-
Tenant isolation strategy for the JDBC store.
- MultiTenantFailoverStore<T> - Class in com.societegenerale.failover.store.multitenant
-
Outermost
FailoverStoredecorator that routes every operation to the correct per-tenant store. - MultiTenantFailoverStore() - Constructor for class com.societegenerale.failover.store.multitenant.MultiTenantFailoverStore
N
- name() - Element in annotation interface com.societegenerale.failover.annotations.Failover
-
The name of the failover.
- NEVER_THROW - Enum constant in enum class com.societegenerale.failover.properties.ExceptionPolicy
-
For always suppress the error and return payload / null in case of failover failure or expired
- NeverRethrowMethodExceptionPolicy - Class in com.societegenerale.failover.core.exception.policy
-
MethodExceptionPolicythat serves recovered data when available, and cascades the original exception only when there is nothing to recover. - NeverRethrowMethodExceptionPolicy() - Constructor for class com.societegenerale.failover.core.exception.policy.NeverRethrowMethodExceptionPolicy
- noOp() - Static method in interface com.societegenerale.failover.core.propagator.ContextPropagator
-
No-op propagator — passes tasks through unchanged.
- No schema qualifier in SQL - Search tag in class com.societegenerale.failover.store.resolver.DefaultFailoverStoreQueryResolver
- Section
- now() - Method in class com.societegenerale.failover.core.clock.DefaultFailoverClock
- now() - Method in interface com.societegenerale.failover.core.clock.FailoverClock
-
Returns the current instant in UTC.
O
- ObservablePublisher - Interface in com.societegenerale.failover.core.observable.publisher
-
SPI for publishing failover metrics to an external sink (log, metrics system, event bus, etc.).
- ObservableScheduler - Class in com.societegenerale.failover.scheduler
-
Spring scheduler that periodically calls
FailoverObserver.observe()to collect metrics from all registered@Failoverconfigurations and publish them to all registeredObservablePublisherbeans. - ObservableScheduler() - Constructor for class com.societegenerale.failover.scheduler.ObservableScheduler
- observe() - Method in class com.societegenerale.failover.core.observable.DefaultFailoverObserver
- observe() - Method in interface com.societegenerale.failover.core.observable.FailoverObserver
-
Observes all registered
@Failoverconfigurations and publishes toObservablePublisherinstances. - observe() - Method in class com.societegenerale.failover.scheduler.ObservableScheduler
-
Triggers
FailoverObserver.observe()asynchronously on the configured cron schedule. - of(ContextPropagator...) - Static method in class com.societegenerale.failover.core.propagator.CompositeContextPropagator
-
Creates a composite from a varargs array of propagators.
- of(String) - Static method in class com.societegenerale.failover.core.observable.Metrics
-
Creates a new
Metricsinstance pre-populated with anameentry. - of(List<ContextPropagator>) - Static method in class com.societegenerale.failover.core.propagator.CompositeContextPropagator
-
Creates a composite from a list of propagators.
P
- Parallel scatter - Search tag in class com.societegenerale.failover.core.ScatterGatherFailoverHandler
- Section
- PassThroughRecoveredPayloadHandler - Class in com.societegenerale.failover.core.payload
-
No-op
RecoveredPayloadHandlerthat returns the recovered payload unchanged. - PassThroughRecoveredPayloadHandler() - Constructor for class com.societegenerale.failover.core.payload.PassThroughRecoveredPayloadHandler
- PayloadColumnResolver - Interface in com.societegenerale.failover.store.resolver
-
Strategy for resolving the SQL type and extracting the value of the PAYLOAD column.
- payloadEnricher() - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Creates the default payload enricher bean.
- PayloadEnricher<T> - Interface in com.societegenerale.failover.core.payload
-
Strategy for enriching payloads before they are stored or after they are recovered.
- payloadSplitter() - Element in annotation interface com.societegenerale.failover.annotations.Failover
-
The bean name of the custom
PayloadSplitterto use for scatter/gather mode. - PayloadSplitter<T,
R> - Interface in com.societegenerale.failover.core.payload.splitter -
Strategy that splits a composite payload into individual slices for scatter/gather operations.
- PayloadSplitterExecutionException - Exception Class in com.societegenerale.failover.core.payload.splitter
-
Thrown when a user-provided
PayloadSplitterraises an exception duringsplitOnStore,splitOnRecover, ormerge. - PayloadSplitterExecutionException(String, String, Failover, Throwable) - Constructor for exception class com.societegenerale.failover.core.payload.splitter.PayloadSplitterExecutionException
-
Creates an execution exception with full context.
- payloadSplitterLookup() - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Creates the payload-splitter lookup bean.
- PayloadSplitterLookup<T,
R> - Interface in com.societegenerale.failover.core.payload.splitter -
Strategy for resolving a
PayloadSplitterby qualifier or bean name. - PayloadSplitterNotFoundException - Exception Class in com.societegenerale.failover.core.payload.splitter
-
Thrown when
PayloadSplitterLookupcannot resolve thePayloadSplitternamed inFailover.payloadSplitter(). - PayloadSplitterNotFoundException(String) - Constructor for exception class com.societegenerale.failover.core.payload.splitter.PayloadSplitterNotFoundException
-
Creates an exception with the given detail message.
- payloadType() - Method in interface com.societegenerale.failover.store.resolver.PayloadColumnResolver
-
Returns the JDBC type constant for the payload column.
- payloadType() - Method in class com.societegenerale.failover.store.resolver.VarcharPayloadColumnResolver
- Per-entry expiry - Search tag in class com.societegenerale.failover.store.FailoverStoreCaffeine
- Section
- populateAdditionalInfoOnMetadata(Failover, Class<T>, ReferentialPayload<T>, T, Throwable, Metadata) - Method in class com.societegenerale.failover.core.payload.DefaultPayloadEnricher
-
Extension point for adding custom entries to the recovery metadata.
- prewarm(Set<String>) - Method in class com.societegenerale.failover.store.multitenant.MultiTenantFailoverStore
-
Pre-warms the store for each known tenant so
MultiTenantFailoverStore.cleanByExpiry(java.time.Instant)covers all tenants from application startup, not just those that have received a request. - publish(Metrics) - Method in class com.societegenerale.failover.core.observable.publisher.AbstractObservablePublisher
- publish(Metrics) - Method in class com.societegenerale.failover.core.observable.publisher.CompositeObservablePublisher
- publish(Metrics) - Method in interface com.societegenerale.failover.core.observable.publisher.ObservablePublisher
-
Publishes the given metrics to the underlying sink.
- publish(Metrics) - Method in class com.societegenerale.failover.observable.micrometer.MicrometerObservablePublisher
R
- Read expiry - Search tag in class com.societegenerale.failover.store.FailoverStoreCaffeine
- Section
- recover(Failover, List<Object>, Class<T>, Throwable) - Method in class com.societegenerale.failover.core.AdvancedFailoverHandler
- recover(Failover, List<Object>, Class<T>, Throwable) - Method in class com.societegenerale.failover.core.DefaultFailoverHandler
- recover(Failover, List<Object>, Class<T>, Throwable) - Method in interface com.societegenerale.failover.core.FailoverHandler
-
Recovers a previously stored payload after a failure.
- recover(Failover, List<Object>, Class<T>, Throwable) - Method in class com.societegenerale.failover.core.ScatterGatherFailoverHandler
-
Recovers the composite payload via gather when
Failover.payloadSplitter()is configured; otherwise delegates unchanged todelegateT. - recoverAll() - Element in annotation interface com.societegenerale.failover.annotations.Failover
- recoverAll(Failover, List<Object>, Class<T>, Throwable) - Method in class com.societegenerale.failover.core.AdvancedFailoverHandler
- recoverAll(Failover, List<Object>, Class<T>, Throwable) - Method in class com.societegenerale.failover.core.DefaultFailoverHandler
- recoverAll(Failover, List<Object>, Class<T>, Throwable) - Method in interface com.societegenerale.failover.core.FailoverHandler
- recoverAll(Failover, List<Object>, Class<T>, Throwable) - Method in class com.societegenerale.failover.core.ScatterGatherFailoverHandler
-
Delegates to
delegateT.recoverAllwhen noFailover.payloadSplitter()is configured. - RecoverContext<T> - Class in com.societegenerale.failover.core.payload.splitter
- RecoverContext() - Constructor for class com.societegenerale.failover.core.payload.splitter.RecoverContext
- recoveredPayloadHandler() - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Registers the default no-op
RecoveredPayloadHandlerthat returns the payload unchanged. - RecoveredPayloadHandler - Interface in com.societegenerale.failover.core.payload
-
Post-processor for payloads recovered from the failover store.
- recoveredResult() - Method in record class com.societegenerale.failover.core.exception.MethodExceptionContext
-
Returns the value of the
recoveredResultrecord component. - Referential - Class in com.societegenerale.failover.domain
-
Base class for referential entities which need to be aware of the failover metadata information.
- Referential() - Constructor for class com.societegenerale.failover.domain.Referential
- ReferentialAware - Interface in com.societegenerale.failover.domain
-
Interface to be implemented by referential entities that wish to be aware of the failover metadata information.
- ReferentialPayload<T> - Class in com.societegenerale.failover.core.payload
-
Envelope that wraps a referential payload with metadata used by the failover mechanism.
- ReferentialPayload() - Constructor for class com.societegenerale.failover.core.payload.ReferentialPayload
- ReferentialPayloadRowMapper<T> - Class in com.societegenerale.failover.store.mapper
- ReferentialPayloadRowMapper() - Constructor for class com.societegenerale.failover.store.mapper.ReferentialPayloadRowMapper
- RESILIENCE - Enum constant in enum class com.societegenerale.failover.properties.FailoverType
-
For resilience failover type which uses resilience4j-circuitbreaker
- ResilienceFailoverExecution<T> - Class in com.societegenerale.failover.execution.resilience
-
BasicFailoverExecutionextension that wraps each supplier with a Resilience4jCircuitBreakernamed after the failover point. - ResilienceFailoverExecution(FailoverHandler<T>, MethodExceptionHandler, CircuitBreakerRegistry) - Constructor for class com.societegenerale.failover.execution.resilience.ResilienceFailoverExecution
-
Creates a resilience-backed failover execution.
- ResilienceFailoverExecutionAutoConfiguration - Class in com.societegenerale.failover.configuration
-
Autoconfiguration for the Resilience4j-based
FailoverExecution. - ResilienceFailoverExecutionAutoConfiguration() - Constructor for class com.societegenerale.failover.configuration.ResilienceFailoverExecutionAutoConfiguration
- resolve() - Method in class com.societegenerale.failover.store.multitenant.FixedTenantResolver
- resolve() - Method in class com.societegenerale.failover.store.multitenant.TenantContextTenantResolver
- resolve() - Method in interface com.societegenerale.failover.store.multitenant.TenantResolver
-
Resolves the current tenant ID.
- resolve() - Method in interface com.societegenerale.failover.store.resolver.DatabaseResolver
- resolve() - Method in class com.societegenerale.failover.store.resolver.DefaultDatabaseResolver
- resolveExpiryDuration(String) - Method in class com.societegenerale.failover.core.expiry.AbstractFailoverExpiryExtractor
-
Resolves the expiry duration from a string expression (e.g. a SpEL expression or property placeholder).
- resolveExpiryDuration(String) - Method in class com.societegenerale.failover.core.expiry.BasicFailoverExpiryExtractor
- resolveExpiryDuration(String) - Method in class com.societegenerale.failover.core.expiry.BeanFactoryFailoverExpiryExtractor
- resolveExpiryUnit(String) - Method in class com.societegenerale.failover.core.expiry.AbstractFailoverExpiryExtractor
-
Resolves the expiry unit from a string expression (e.g. a SpEL expression or property placeholder).
- resolveExpiryUnit(String) - Method in class com.societegenerale.failover.core.expiry.BasicFailoverExpiryExtractor
- resolveExpiryUnit(String) - Method in class com.societegenerale.failover.core.expiry.BeanFactoryFailoverExpiryExtractor
- resourceLoader() - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Registers a resource loader for reading classpath resources (e.g.
- ResourceLoader - Interface in com.societegenerale.failover.core.observable.manifest
-
Abstraction for locating classpath resources by name.
- RETHROW - Enum constant in enum class com.societegenerale.failover.properties.ExceptionPolicy
-
For re throw the same exception when unable to recover or expired
- RethrowIfNoRecoveryMethodExceptionPolicy - Class in com.societegenerale.failover.core.exception.policy
-
MethodExceptionPolicythat serves recovered data when available, and cascades the original exception only when there is nothing to recover. - RethrowIfNoRecoveryMethodExceptionPolicy() - Constructor for class com.societegenerale.failover.core.exception.policy.RethrowIfNoRecoveryMethodExceptionPolicy
S
- Scatter - Class in com.societegenerale.failover.properties
-
Scatter/gather configuration for the failover framework.
- Scatter() - Constructor for class com.societegenerale.failover.properties.Scatter
- scatterGatherExecutor() - Method in class com.societegenerale.failover.configuration.FailoverAutoConfiguration
-
Virtual-thread executor for parallel slice dispatch in scatter/gather operations.
- ScatterGatherFailoverHandler<T,
R> - Class in com.societegenerale.failover.core -
FailoverHandlerdecorator that adds scatter/gather routing toFailover-annotated methods. - ScatterGatherFailoverHandler(FailoverHandler<T>, FailoverHandler<R>, PayloadSplitterLookup<T, R>) - Constructor for class com.societegenerale.failover.core.ScatterGatherFailoverHandler
-
Sequential constructor — no executor, no context propagator.
- ScatterGatherFailoverHandler(FailoverHandler<T>, FailoverHandler<R>, PayloadSplitterLookup<T, R>, Executor, ContextPropagator) - Constructor for class com.societegenerale.failover.core.ScatterGatherFailoverHandler
-
Full constructor — use when parallel scatter and/or context propagator is required.
- Scheduler - Class in com.societegenerale.failover.properties
-
Scheduler configuration for the failover framework.
- Scheduler() - Constructor for class com.societegenerale.failover.properties.Scheduler
- SCHEMA - Enum constant in enum class com.societegenerale.failover.properties.MultiTenant.JdbcMultiTenantStrategy
-
Separate schema (or separate database) per tenant.
- serialize(T) - Method in class com.societegenerale.failover.store.serializer.JsonSerializer
-
Serializes
payloadto its string representation. - serialize(T) - Method in interface com.societegenerale.failover.store.serializer.Serializer
-
Serializes
payloadto its string representation. - Serializer - Interface in com.societegenerale.failover.store.serializer
-
Strategy for serializing and deserializing business payloads to and from a storable string representation (e.g.
- set(String) - Static method in class com.societegenerale.failover.store.multitenant.TenantContext
-
Sets the current tenant ID on this thread.
- setApplicationContext(ApplicationContext) - Method in class com.societegenerale.failover.observable.scanner.SpringContextFailoverScanner
- setAsOf(Instant) - Method in interface com.societegenerale.failover.domain.ReferentialAware
-
Sets the timestamp indicating when the referential value was captured.
- setBeanFactory(BeanFactory) - Method in class com.societegenerale.failover.core.expiry.BeanFactoryExpiryPolicyLookup
-
Injects the Spring
BeanFactoryused for expiry-policy lookups. - setBeanFactory(BeanFactory) - Method in class com.societegenerale.failover.core.expiry.BeanFactoryFailoverExpiryExtractor
-
Injects the Spring
BeanFactoryused for expression resolution. - setBeanFactory(BeanFactory) - Method in class com.societegenerale.failover.core.key.BeanFactoryKeyGeneratorLookup
-
Injects the Spring
BeanFactoryused for key-generator lookups. - setBeanFactory(BeanFactory) - Method in class com.societegenerale.failover.core.payload.splitter.BeanFactoryPayloadSplitterLookup
-
Injects the Spring
BeanFactoryused for payload-splitter lookups. - setEnvironment(Environment) - Method in class com.societegenerale.failover.analyzer.FailoverFailureAnalyzer
- setMetadata(Metadata) - Method in interface com.societegenerale.failover.domain.ReferentialAware
-
Sets the metadata holding additional failover information.
- setUpToDate(Boolean) - Method in interface com.societegenerale.failover.domain.ReferentialAware
-
Sets whether the referential value is up-to-date or not.
- SINGLE_TENANT_ID - Static variable in interface com.societegenerale.failover.store.multitenant.TenantStoreFactory
-
Sentinel tenant ID used in single-tenant mode.
- splitOnRecover(RecoverContext<T>) - Method in interface com.societegenerale.failover.core.payload.splitter.PayloadSplitter
-
Splits the composite
RecoverContextinto per-slice recover contexts. - splitOnStore(StoreContext<T>) - Method in interface com.societegenerale.failover.core.payload.splitter.PayloadSplitter
-
Splits the composite
StoreContextinto per-slice store contexts. - SpringContextFailoverScanner - Class in com.societegenerale.failover.observable.scanner
-
FailoverScannerbacked by the SpringApplicationContext. - SpringContextFailoverScanner() - Constructor for class com.societegenerale.failover.observable.scanner.SpringContextFailoverScanner
- Storage layout - Search tag in class com.societegenerale.failover.store.FailoverStoreCaffeine
- Section
- store(Failover, List<Object>, T) - Method in class com.societegenerale.failover.core.AdvancedFailoverHandler
- store(Failover, List<Object>, T) - Method in class com.societegenerale.failover.core.DefaultFailoverHandler
- store(Failover, List<Object>, T) - Method in interface com.societegenerale.failover.core.FailoverHandler
-
Stores the payload for later recovery.
- store(Failover, List<Object>, T) - Method in class com.societegenerale.failover.core.ScatterGatherFailoverHandler
-
Stores
payloadvia scatter whenFailover.payloadSplitter()is configured; otherwise delegates unchanged todelegateT. - store(ReferentialPayload<T>) - Method in class com.societegenerale.failover.core.store.DefaultFailoverStore
-
Stores a copy of the given payload with
upToDateforced tofalse, then delegates to the underlying store. - store(ReferentialPayload<T>) - Method in interface com.societegenerale.failover.core.store.FailoverStore
-
Persists or updates a referential payload entry.
- store(ReferentialPayload<T>) - Method in class com.societegenerale.failover.store.FailoverStoreAsync
-
Submits the store operation to the executor.
- store(ReferentialPayload<T>) - Method in class com.societegenerale.failover.store.FailoverStoreCaffeine
-
Stores a defensive copy of the payload in the cache.
- store(ReferentialPayload<T>) - Method in class com.societegenerale.failover.store.FailoverStoreInmemory
-
Stores a defensive copy of the payload, keyed by its referential name and key.
- store(ReferentialPayload<T>) - Method in class com.societegenerale.failover.store.FailoverStoreJdbc
-
Persists or updates the payload.
- store(ReferentialPayload<T>) - Method in class com.societegenerale.failover.store.multitenant.MultiTenantFailoverStore
-
Stores the payload in the current tenant's failover store.
- Store - Class in com.societegenerale.failover.properties
-
Configuration properties for
failover.store.*. - Store() - Constructor for class com.societegenerale.failover.properties.Store
- StoreContext<T> - Class in com.societegenerale.failover.core.payload.splitter
-
Immutable context passed to
PayloadSplitter.splitOnStore(com.societegenerale.failover.core.payload.splitter.StoreContext<T>)and produced by it. - StoreContext() - Constructor for class com.societegenerale.failover.core.payload.splitter.StoreContext
- StoreType - Enum Class in com.societegenerale.failover.properties
- Supported databases and merge strategy - Search tag in class com.societegenerale.failover.store.resolver.DefaultFailoverStoreQueryResolver
- Section
- syncFailoverStore(TenantStoreFactory<Object>) - Method in class com.societegenerale.failover.configuration.FailoverStoreAutoConfiguration
-
Sync store:
DefaultFailoverStore(raw). - syncMultiTenantFailoverStore(TenantResolver, TenantStoreFactory<Object>, FailoverProperties) - Method in class com.societegenerale.failover.configuration.FailoverStoreAutoConfiguration
-
Sync multi-tenant store:
MultiTenantFailoverStorewith per-tenantDefaultFailoverStore(raw)decorator.
T
- TABLE_PREFIX - Enum constant in enum class com.societegenerale.failover.properties.MultiTenant.JdbcMultiTenantStrategy
-
Separate table per tenant:
tenantPrefix + globalPrefix + "FAILOVER_STORE". - Tag cardinality - Search tag in class com.societegenerale.failover.observable.micrometer.MicrometerObservablePublisher
- Section
- TenantConfig - Class in com.societegenerale.failover.properties
-
Per-tenant configuration overrides (JDBC only).
- TenantConfig() - Constructor for class com.societegenerale.failover.properties.TenantConfig
- TenantContext - Class in com.societegenerale.failover.store.multitenant
-
Thread-local holder for the current tenant ID.
- tenantContextPropagator() - Method in class com.societegenerale.failover.configuration.FailoverStoreMultiTenantAutoConfiguration
-
Registers
TenantContextPropagatorso that scatter/gather slice tasks dispatched to executor threads carry the correct tenant ID. - TenantContextPropagator - Class in com.societegenerale.failover.store.multitenant
-
ContextPropagatorthat propagates the current tenant ID fromTenantContextacross executor boundaries in scatter/gather operations. - TenantContextPropagator() - Constructor for class com.societegenerale.failover.store.multitenant.TenantContextPropagator
- TenantContextTenantResolver - Class in com.societegenerale.failover.store.multitenant
-
TenantResolverthat reads the current tenant ID fromTenantContext. - TenantContextTenantResolver() - Constructor for class com.societegenerale.failover.store.multitenant.TenantContextTenantResolver
- TenantResolver - Interface in com.societegenerale.failover.store.multitenant
-
Strategy for resolving the current tenant identifier from the execution context.
- TenantStoreFactory<T> - Interface in com.societegenerale.failover.store.multitenant
-
SPI for creating a raw
FailoverStorefor a given tenant. - Threading - Search tag in class com.societegenerale.failover.store.multitenant.MultiTenantFailoverStore
- Section
- Threading contract - Search tag in class com.societegenerale.failover.store.FailoverStoreAsync
- Section
- Threading contract - Search tag in interface com.societegenerale.failover.store.multitenant.TenantStoreFactory
- Section
- Thread safety - Search tag in class com.societegenerale.failover.store.FailoverStoreCaffeine
- Section
- toClass(String) - Method in class com.societegenerale.failover.store.serializer.JsonSerializer
-
Resolves a
Classfrom its fully-qualified name. - toClass(String) - Method in interface com.societegenerale.failover.store.serializer.Serializer
-
Resolves a
Classfrom its fully-qualified name. - toClassName(T) - Method in class com.societegenerale.failover.store.serializer.JsonSerializer
-
Returns the fully-qualified class name of
payload's runtime type. - toClassName(T) - Method in interface com.societegenerale.failover.store.serializer.Serializer
-
Returns the fully-qualified class name of
payload's runtime type. - toString() - Method in record class com.societegenerale.failover.core.exception.MethodExceptionContext
-
Returns a string representation of this record class.
- toString() - Method in class com.societegenerale.failover.core.payload.ReferentialPayload
V
- valueOf(String) - Static method in enum class com.societegenerale.failover.properties.ExceptionPolicy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.societegenerale.failover.properties.FailoverType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.societegenerale.failover.properties.MultiTenant.JdbcMultiTenantStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.societegenerale.failover.properties.StoreType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.societegenerale.failover.properties.ExceptionPolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.societegenerale.failover.properties.FailoverType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.societegenerale.failover.properties.MultiTenant.JdbcMultiTenantStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.societegenerale.failover.properties.StoreType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VarcharPayloadColumnResolver - Class in com.societegenerale.failover.store.resolver
-
Default
PayloadColumnResolverthat maps the PAYLOAD column asVARCHAR. - VarcharPayloadColumnResolver() - Constructor for class com.societegenerale.failover.store.resolver.VarcharPayloadColumnResolver
W
- Why this matters - Search tag in class com.societegenerale.failover.propagator.MicrometerContextPropagator
- Section
- withInfo(String, String) - Method in class com.societegenerale.failover.domain.Metadata
-
Adds a metadata entry and returns
thisfor chaining. - withUpToDate(boolean) - Method in class com.societegenerale.failover.core.payload.ReferentialPayload
-
Sets the
upToDateflag and returnsthisfor chaining. - wrap(Runnable) - Method in class com.societegenerale.failover.core.propagator.CompositeContextPropagator
-
Wraps
taskby applying each propagator in list order. - wrap(Runnable) - Method in interface com.societegenerale.failover.core.propagator.ContextPropagator
-
Captures the current thread context and returns a
Runnablethat restores it before runningtaskon the executor thread. - wrap(Runnable) - Method in class com.societegenerale.failover.core.propagator.MdcContextPropagator
- wrap(Runnable) - Method in class com.societegenerale.failover.propagator.MicrometerContextPropagator
- wrap(Runnable) - Method in class com.societegenerale.failover.store.multitenant.TenantContextPropagator
- wrapSupplier(Supplier<V>) - Method in interface com.societegenerale.failover.core.propagator.ContextPropagator
-
Variant of
ContextPropagator.wrap(java.lang.Runnable)for tasks that produce a value.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form