public class CachingMetadata
extends java.lang.Object
| Constructor and Description |
|---|
CachingMetadata(int capacity,
org.openrdf.model.ValueFactory valueFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
CacheEntry |
getMemo(java.lang.String graphUri,
org.openrdf.sail.SailConnection sc) |
void |
setMemo(java.lang.String graphUri,
CacheEntry memo,
org.openrdf.sail.SailConnection sc)
Writes metadata to the in-memory cache and, optionally, to the Sail.
|
public CachingMetadata(int capacity,
org.openrdf.model.ValueFactory valueFactory)
public void clear()
public CacheEntry getMemo(java.lang.String graphUri, org.openrdf.sail.SailConnection sc)
public void setMemo(java.lang.String graphUri,
CacheEntry memo,
org.openrdf.sail.SailConnection sc)
graphUri - the graph URI of the cached data sourcememo - the memo object representing the state of the data sourcesc - a connection to the Sail, or null if only the in-memory cache should be updatedCopyright © 2007-2016. All Rights Reserved.