Uses of Interface
com.sap.cloud.sdk.cloudplatform.resilience.CacheFilter
-
Uses of CacheFilter in com.sap.cloud.sdk.cloudplatform.resilience
Methods in com.sap.cloud.sdk.cloudplatform.resilience that return CacheFilterModifier and TypeMethodDescriptionstatic CacheFilterCacheFilter.and(CacheFilter firstFilter, CacheFilter... additionalFilters) Creates a newCacheFilterinstance which represents the conjunction of all passed cache filters.static CacheFilterCacheFilter.keyMatchesParameters()Creates aCacheFilter, which matches all cache entries associated withGenericCacheKeys that are accessible with respect to the parameters in theResilienceConfiguration.CacheConfigurationin the correspondingResilienceConfiguration.static CacheFilterCacheFilter.keyMatchesParameters(Iterable<Object> parameters) Creates aCacheFilter, which includes all cache entries associated withGenericCacheKeys that are accessible with respect to the passed parameters.static CacheFilterCacheFilter.keyMatchesPrincipal()Creates aCacheFilter, which matches all cache entries associated withGenericCacheKeys that are accessible with respect to thePrincipalused at the time when theCacheFilteris applied.
Whether theCacheFilterconsiders thePrincipal, depends on theResilienceIsolationModestored in the correspondingResilienceConfiguration.static CacheFilterCacheFilter.keyMatchesPrincipal(Principal principal) Creates aCacheFilter, which includes all cache entries associated withGenericCacheKeys that are accessible with respect to the passedPrincipal.static CacheFilterCacheFilter.keyMatchesTenant()Creates aCacheFilter, which matches all cache entries associated withGenericCacheKeys that are accessible with respect to theTenantused at the time when theCacheFilteris applied.
Whether theCacheFilterconsiders theTenant, depends on theResilienceIsolationModestored in the correspondingResilienceConfiguration.static CacheFilterCacheFilter.keyMatchesTenant(Tenant tenant) Creates aCacheFilter, which includes all cache entries associated withGenericCacheKeys that are accessible with respect to the passedTenant.static CacheFilterCacheFilter.or(CacheFilter firstFilter, CacheFilter... additionalFilters) Creates a newCacheFilterinstance which represents the disjunction of all passed cache filters.Methods in com.sap.cloud.sdk.cloudplatform.resilience with parameters of type CacheFilterModifier and TypeMethodDescriptionstatic CacheFilterCacheFilter.and(CacheFilter firstFilter, CacheFilter... additionalFilters) Creates a newCacheFilterinstance which represents the conjunction of all passed cache filters.default voidResilienceDecorationStrategy.clearCache(ResilienceConfiguration configuration, CacheFilter filter) Clears the cache associated with the givenResilienceConfigurationby respecting the providedCacheFilter.static voidResilienceDecorator.clearCache(ResilienceConfiguration configuration, CacheFilter filter) Clears the cache associated with the givenResilienceConfigurationif any exists.static CacheFilterCacheFilter.or(CacheFilter firstFilter, CacheFilter... additionalFilters) Creates a newCacheFilterinstance which represents the disjunction of all passed cache filters.