|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LDCacheProvider
An interface specifying a factory that provides different caching mechanisms, e.g. in-memory or file storage. A cache provider typically offers two kinds of caching services, one for the retrieved triples (a sesame repository) and one for the caching metadata (a map from URIs to CacheEntry).
Author: Sebastian Schaffert
| Method Summary | |
|---|---|
Map<String,CacheEntry> |
getMetadataRepository()
Return a map that can be used to store caching metadata about resources. |
org.openrdf.repository.Repository |
getTripleRepository()
Return the sesame repository used for storing the triples that are retrieved from the Linked Data Cloud. |
Collection<Endpoint> |
listEndpoints()
List all endpoints currently registered with the Linked Data cache provider. |
void |
registerEndpoint(Endpoint endpoint)
Register a new Linked Data endpoint with this cache provider. |
void |
unregisterEndpoint(Endpoint endpoint)
Unregister the Linked Data endpoint given as argument. |
| Method Detail |
|---|
org.openrdf.repository.Repository getTripleRepository()
Map<String,CacheEntry> getMetadataRepository()
void registerEndpoint(Endpoint endpoint)
endpoint - Collection<Endpoint> listEndpoints()
void unregisterEndpoint(Endpoint endpoint)
endpoint - the endpoint to unregister
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||