Uses of Interface
io.fluxzero.sdk.persisting.caching.Cache
Packages that use Cache
Package
Description
-
Uses of Cache in io.fluxzero.sdk
Methods in io.fluxzero.sdk that return Cache -
Uses of Cache in io.fluxzero.sdk.configuration
Methods in io.fluxzero.sdk.configuration that return CacheModifier and TypeMethodDescriptionFluxzeroConfiguration.cache()Default cache used for internal stateful optimizations (e.g. handler state, snapshots).FluxzeroConfiguration.relationshipsCache()Dedicated cache used to store and lookup relationships between entities.Methods in io.fluxzero.sdk.configuration with parameters of type CacheModifier and TypeMethodDescriptionprotected FluxzeroDefaultFluxzero.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) DefaultFluxzero.Builder.replaceCache(@NonNull Cache cache) FluxzeroBuilder.replaceCache(Cache cache) Replaces the default cache implementation.DefaultFluxzero.Builder.withAggregateCache(Class<?> aggregateType, Cache cache) FluxzeroBuilder.withAggregateCache(Class<?> aggregateType, Cache cache) Configures a dedicated cache for a specific aggregate type.Method parameters in io.fluxzero.sdk.configuration with type arguments of type CacheModifier and TypeMethodDescriptionDefaultFluxzero.Builder.replaceRelationshipsCache(UnaryOperator<Cache> replaceFunction) FluxzeroBuilder.replaceRelationshipsCache(UnaryOperator<Cache> replaceFunction) Replaces the internal relationships cache with a new implementation. -
Uses of Cache in io.fluxzero.sdk.persisting.caching
Classes in io.fluxzero.sdk.persisting.caching that implement CacheModifier and TypeClassDescriptionclassDefault implementation of theCacheinterface using key-level synchronized access and soft references for value storage.classACacheimplementation that wraps a delegate cache and applies a transformation to each key (ID) before delegating operations to the underlying cache.enumclassMethods in io.fluxzero.sdk.persisting.caching with parameters of type CacheModifier and TypeMethodDescriptionRegisters this logger as an eviction listener for the givenCache.Constructors in io.fluxzero.sdk.persisting.caching with parameters of type CacheModifierConstructorDescriptionSelectiveCache(Cache nextCache, Predicate<Object> selector) Constructs aSelectiveCachewith a default in-memory delegate cache.