| Modifier and Type | Method and Description |
|---|---|
static CacheFilter |
CacheFilter.and(CacheFilter firstFilter,
CacheFilter... additionalFilters)
Creates a new
CacheFilter instance which represents the conjunction of all passed cache filters. |
static CacheFilter |
CacheFilter.keyMatchesParameters()
Creates a
CacheFilter, which matches all cache entries associated with GenericCacheKeys that are
accessible with respect to the parameters in the ResilienceConfiguration.CacheConfiguration in the
corresponding ResilienceConfiguration. |
static CacheFilter |
CacheFilter.keyMatchesParameters(Iterable<Object> parameters)
Creates a
CacheFilter, which includes all cache entries associated with GenericCacheKeys that are
accessible with respect to the passed parameters. |
static CacheFilter |
CacheFilter.keyMatchesPrincipal()
Creates a
CacheFilter, which matches all cache entries associated with GenericCacheKeys that are
accessible with respect to the Principal used at the time when the CacheFilter is applied.Whether the CacheFilter considers the Principal, depends on the ResilienceIsolationMode
stored in the corresponding ResilienceConfiguration. |
static CacheFilter |
CacheFilter.keyMatchesPrincipal(Principal principal)
Creates a
CacheFilter, which includes all cache entries associated with GenericCacheKeys that are
accessible with respect to the passed Principal. |
static CacheFilter |
CacheFilter.keyMatchesTenant()
Creates a
CacheFilter, which matches all cache entries associated with GenericCacheKeys that are
accessible with respect to the Tenant used at the time when the CacheFilter is applied.Whether the CacheFilter considers the Tenant, depends on the ResilienceIsolationMode
stored in the corresponding ResilienceConfiguration. |
static CacheFilter |
CacheFilter.keyMatchesTenant(Tenant tenant)
Creates a
CacheFilter, which includes all cache entries associated with GenericCacheKeys that are
accessible with respect to the passed Tenant. |
static CacheFilter |
CacheFilter.or(CacheFilter firstFilter,
CacheFilter... additionalFilters)
Creates a new
CacheFilter instance which represents the disjunction of all passed cache filters. |
| Modifier and Type | Method and Description |
|---|---|
static CacheFilter |
CacheFilter.and(CacheFilter firstFilter,
CacheFilter... additionalFilters)
Creates a new
CacheFilter instance which represents the conjunction of all passed cache filters. |
static CacheFilter |
CacheFilter.and(CacheFilter firstFilter,
CacheFilter... additionalFilters)
Creates a new
CacheFilter instance which represents the conjunction of all passed cache filters. |
default void |
ResilienceDecorationStrategy.clearCache(ResilienceConfiguration configuration,
CacheFilter filter)
Clears the cache associated with the given
ResilienceConfiguration by respecting the provided
CacheFilter. |
static void |
ResilienceDecorator.clearCache(ResilienceConfiguration configuration,
CacheFilter filter)
Clears the cache associated with the given
ResilienceConfiguration if any exists. |
static CacheFilter |
CacheFilter.or(CacheFilter firstFilter,
CacheFilter... additionalFilters)
Creates a new
CacheFilter instance which represents the disjunction of all passed cache filters. |
static CacheFilter |
CacheFilter.or(CacheFilter firstFilter,
CacheFilter... additionalFilters)
Creates a new
CacheFilter instance which represents the disjunction of all passed cache filters. |
Copyright © 2022 SAP SE. All rights reserved.