Class FederationAccessManagerWithCache.MyDefaultCachePolicies
java.lang.Object
se.liu.ida.hefquin.engine.federation.access.impl.FederationAccessManagerWithCache.MyDefaultCachePolicies
- All Implemented Interfaces:
CachePolicies<FederationAccessManagerWithCache.Key,
CompletableFuture<? extends DataRetrievalResponse>, CacheEntryBase<CompletableFuture<? extends DataRetrievalResponse>>>
- Enclosing class:
- FederationAccessManagerWithCache
protected static class FederationAccessManagerWithCache.MyDefaultCachePolicies
extends Object
implements CachePolicies<FederationAccessManagerWithCache.Key,CompletableFuture<? extends DataRetrievalResponse>,CacheEntryBase<CompletableFuture<? extends DataRetrievalResponse>>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCacheEntryFactory<CacheEntryBase<CompletableFuture<? extends DataRetrievalResponse>>,
CompletableFuture<? extends DataRetrievalResponse>> CacheInvalidationPolicy<CacheEntryBase<CompletableFuture<? extends DataRetrievalResponse>>,
CompletableFuture<? extends DataRetrievalResponse>> CacheReplacementPolicyFactory<FederationAccessManagerWithCache.Key,
CompletableFuture<? extends DataRetrievalResponse>, CacheEntryBase<CompletableFuture<? extends DataRetrievalResponse>>>
-
Constructor Details
-
MyDefaultCachePolicies
protected MyDefaultCachePolicies()
-
-
Method Details
-
getEntryFactory
public CacheEntryFactory<CacheEntryBase<CompletableFuture<? extends DataRetrievalResponse>>,CompletableFuture<? extends DataRetrievalResponse>> getEntryFactory()- Specified by:
getEntryFactory
in interfaceCachePolicies<FederationAccessManagerWithCache.Key,
CompletableFuture<? extends DataRetrievalResponse>, CacheEntryBase<CompletableFuture<? extends DataRetrievalResponse>>>
-
getReplacementPolicyFactory
public CacheReplacementPolicyFactory<FederationAccessManagerWithCache.Key,CompletableFuture<? extends DataRetrievalResponse>, getReplacementPolicyFactory()CacheEntryBase<CompletableFuture<? extends DataRetrievalResponse>>> - Specified by:
getReplacementPolicyFactory
in interfaceCachePolicies<FederationAccessManagerWithCache.Key,
CompletableFuture<? extends DataRetrievalResponse>, CacheEntryBase<CompletableFuture<? extends DataRetrievalResponse>>>
-
getInvalidationPolicy
public CacheInvalidationPolicy<CacheEntryBase<CompletableFuture<? extends DataRetrievalResponse>>,CompletableFuture<? extends DataRetrievalResponse>> getInvalidationPolicy()- Specified by:
getInvalidationPolicy
in interfaceCachePolicies<FederationAccessManagerWithCache.Key,
CompletableFuture<? extends DataRetrievalResponse>, CacheEntryBase<CompletableFuture<? extends DataRetrievalResponse>>>
-