Class ServiceResponseCache
java.lang.Object
org.apache.jena.sparql.service.enhancer.impl.ServiceResponseCache
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclaim
(ServiceCacheKey key) static ServiceResponseCache
get()
Return the global instance (if any) in ARQ.getContex()static ServiceResponseCache
get
(org.apache.jena.sparql.util.Context cxt) getCache()
void
static void
set
(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
-