Class ServiceResponseCache
java.lang.Object
org.apache.jena.sparql.service.enhancer.impl.ServiceResponseCache
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclaim(ServiceCacheKey key) static ServiceResponseCacheget()Return the global instance (if any) in ARQ.getContex()static ServiceResponseCacheget(org.apache.jena.sparql.util.Context cxt) getCache()voidstatic voidset(org.apache.jena.sparql.util.Context cxt, ServiceResponseCache cache)
-
Field Details
-
DFT_MAX_ENTRY_COUNT
public static final int DFT_MAX_ENTRY_COUNT- See Also:
-
DFT_PAGE_SIZE
public static final int DFT_PAGE_SIZE- See Also:
-
DFT_MAX_PAGE_COUNT
public static final int DFT_MAX_PAGE_COUNT- See Also:
-
-
Constructor Details
-
ServiceResponseCache
public ServiceResponseCache() -
ServiceResponseCache
public ServiceResponseCache(int maxCacheSize, int pageSize, int maxPageCount)
-
-
Method Details
-
getCache
-
claim
-
getIdToKey
-
invalidateAll
public void invalidateAll() -
get
Return the global instance (if any) in ARQ.getContex() -
get
-
set
-