net.fortytwo.linkeddata
Class CachingMetadata

java.lang.Object
  extended by net.fortytwo.linkeddata.CachingMetadata

public class CachingMetadata
extends Object

A collection of caching metadata for aggregated Linked Data. A complete set of metadata is maintained in the underlying triple store, while a subset of the data is kept in a fast in-memory cache.

Author:
Joshua Shinavier (http://fortytwo.net)

Constructor Summary
CachingMetadata(int capacity, org.openrdf.model.ValueFactory valueFactory)
           
 
Method Summary
 CacheEntry getMemo(String graphUri, org.openrdf.sail.SailConnection sc)
           
 void setMemo(String graphUri, CacheEntry memo, org.openrdf.sail.SailConnection sc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachingMetadata

public CachingMetadata(int capacity,
                       org.openrdf.model.ValueFactory valueFactory)
                throws net.fortytwo.ripple.RippleException
Throws:
net.fortytwo.ripple.RippleException
Method Detail

getMemo

public CacheEntry getMemo(String graphUri,
                          org.openrdf.sail.SailConnection sc)
                   throws net.fortytwo.ripple.RippleException
Throws:
net.fortytwo.ripple.RippleException

setMemo

public void setMemo(String graphUri,
                    CacheEntry memo,
                    org.openrdf.sail.SailConnection sc)
             throws net.fortytwo.ripple.RippleException
Throws:
net.fortytwo.ripple.RippleException


Copyright © 2007-2013. All Rights Reserved.