public interface LDCachingBackend
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear all entries in the cache backend.
|
CacheEntry |
getEntry(org.openrdf.model.URI resource)
Return the cache entry for the given resource, or null if this entry does not exist.
|
void |
initialize()
Carry out any initialization tasks that might be necessary
|
void |
putEntry(org.openrdf.model.URI resource,
CacheEntry entry)
Update the cache entry for the given resource with the given entry.
|
void |
removeEntry(org.openrdf.model.URI resource)
Remove the cache entry for the given resource if it exists.
|
void |
shutdown()
Shutdown the backend and free all runtime resources.
|
CacheEntry getEntry(org.openrdf.model.URI resource)
resource
- the resource to retrieve the cache entry forvoid putEntry(org.openrdf.model.URI resource, CacheEntry entry)
resource
- the resource to updateentry
- the entry for the resourcevoid removeEntry(org.openrdf.model.URI resource)
resource
- the resource to remove the entry forvoid clear()
void initialize()
void shutdown()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.