Package com.societegenerale.failover.store
package com.societegenerale.failover.store
Concrete
FailoverStore implementations.
Available backends:
FailoverStoreInmemory—ConcurrentHashMap-backed; suitable for tests onlyFailoverStoreCaffeine— Caffeine cache with per-entry TTL expiryFailoverStoreJdbc— relational database backed by a singleFAILOVER_STOREtableFailoverStoreAsync— decorator that offloads writes to a background executor
-
ClassesClassDescription
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.FailoverStoreimplementation backed by a single Caffeine in-memory cache.FailoverStoreimplementation backed by a plainConcurrentHashMap.JDBC-backedFailoverStoreimplementation.