public interface CacheManager
Modifier and Type | Field and Description |
---|---|
static String |
BNODE_CACHE |
static String |
LITERAL_CACHE |
static String |
NODE_CACHE |
static String |
NS_PREFIX_CACHE |
static String |
NS_URI_CACHE |
static String |
REGISTRY_CACHE |
static String |
TRIPLE_CACHE |
static String |
URI_CACHE |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear all caches managed by this cache manager.
|
Map<String,KiWiAnonResource> |
getBNodeCache()
Return the anonId -> KiWiAnonResource cache from the cache manager.
|
Map |
getCacheByName(String name)
Get the cache with the given name from the cache manager.
|
Map<String,KiWiLiteral> |
getLiteralCache()
Return the literal cache key -> KiWiLiteral cache from the cache manager.
|
Map<String,KiWiNamespace> |
getNamespacePrefixCache()
Return the prefix -> namespace cache from the cache manager.
|
Map<String,KiWiNamespace> |
getNamespaceUriCache()
Return the URI -> namespace cache from the cache manager.
|
Map<Long,KiWiNode> |
getNodeCache()
Return the node id -> node cache from the cache manager.
|
Map<Long,Long> |
getRegistryCache()
Create and return the cache used by the CacheTripleRegistry.
|
Map<Long,KiWiTriple> |
getTripleCache()
Return the triple id -> triple cache from the cache manager.
|
Map<String,KiWiUriResource> |
getUriCache()
Return the uri -> KiWiUriResource cache from the cache manager.
|
void |
shutdown()
Shutdown this cache manager instance.
|
static final String NODE_CACHE
static final String TRIPLE_CACHE
static final String URI_CACHE
static final String BNODE_CACHE
static final String LITERAL_CACHE
static final String NS_URI_CACHE
static final String NS_PREFIX_CACHE
static final String REGISTRY_CACHE
Map<Long,KiWiNode> getNodeCache()
Map<Long,KiWiTriple> getTripleCache()
Map<String,KiWiUriResource> getUriCache()
Map<String,KiWiAnonResource> getBNodeCache()
Map<String,KiWiLiteral> getLiteralCache()
LiteralCommons.createCacheKey(String, java.util.Locale, String)
Map<String,KiWiNamespace> getNamespaceUriCache()
Map<String,KiWiNamespace> getNamespacePrefixCache()
Map<Long,Long> getRegistryCache()
Map getCacheByName(String name)
name
- void clear()
void shutdown()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.