Uses of Interface
io.fluxcapacitor.javaclient.persisting.caching.Cache
Packages that use Cache
Package
Description
-
Uses of Cache in io.fluxcapacitor.javaclient
Methods in io.fluxcapacitor.javaclient that return Cache -
Uses of Cache in io.fluxcapacitor.javaclient.configuration
Methods in io.fluxcapacitor.javaclient.configuration that return CacheModifier and TypeMethodDescriptionFluxCapacitorConfiguration.cache()
Default cache used for internal stateful optimizations (e.g. handler state, snapshots).FluxCapacitorConfiguration.relationshipsCache()
Dedicated cache used to store and lookup relationships between entities.Methods in io.fluxcapacitor.javaclient.configuration with parameters of type CacheModifier and TypeMethodDescriptionprotected FluxCapacitor
DefaultFluxCapacitor.Builder.doBuild
(Map<MessageType, ? extends Tracking> trackingSupplier, Function<String, ? extends GenericGateway> customGatewaySupplier, CommandGateway commandGateway, QueryGateway queryGateway, EventGateway eventGateway, ResultGateway resultGateway, ErrorGateway errorGateway, MetricsGateway metricsGateway, WebRequestGateway webRequestGateway, AggregateRepository aggregateRepository, SnapshotStore snapshotStore, EventStore eventStore, KeyValueStore keyValueStore, DocumentStore documentStore, MessageScheduler messageScheduler, UserProvider userProvider, Cache cache, Serializer serializer, CorrelationDataProvider correlationDataProvider, IdentityProvider identityProvider, PropertySource propertySource, DelegatingClock clock, TaskScheduler taskScheduler, Client client, ThrowingRunnable shutdownHandler) DefaultFluxCapacitor.Builder.replaceCache
(@NonNull Cache cache) FluxCapacitorBuilder.replaceCache
(Cache cache) Replaces the default cache implementation.DefaultFluxCapacitor.Builder.withAggregateCache
(Class<?> aggregateType, Cache cache) FluxCapacitorBuilder.withAggregateCache
(Class<?> aggregateType, Cache cache) Configures a dedicated cache for a specific aggregate type.Method parameters in io.fluxcapacitor.javaclient.configuration with type arguments of type CacheModifier and TypeMethodDescriptionDefaultFluxCapacitor.Builder.replaceRelationshipsCache
(UnaryOperator<Cache> replaceFunction) FluxCapacitorBuilder.replaceRelationshipsCache
(UnaryOperator<Cache> replaceFunction) Replaces the internal relationships cache with a new implementation. -
Uses of Cache in io.fluxcapacitor.javaclient.persisting.caching
Classes in io.fluxcapacitor.javaclient.persisting.caching that implement CacheModifier and TypeClassDescriptionclass
Default implementation of theCache
interface using key-level synchronized access and soft references for value storage.class
ACache
implementation that wraps a delegate cache and applies a transformation to each key (ID) before delegating operations to the underlying cache.enum
class
Methods in io.fluxcapacitor.javaclient.persisting.caching with parameters of type CacheModifier and TypeMethodDescriptionRegisters this logger as an eviction listener for the givenCache
.Constructors in io.fluxcapacitor.javaclient.persisting.caching with parameters of type CacheModifierConstructorDescriptionSelectiveCache
(Cache nextCache, Predicate<Object> selector) Constructs aSelectiveCache
with a default in-memory delegate cache.