return cache.get(location) ;
}
private static StoreConnection _makeAndCache(DatasetGraphTDB dsg)
{
Location location = dsg.getLocation() ;
TDBMaker.releaseLocation(dsg.getLocation()) ;
StoreConnection sConn = cache.get(location) ;
if ( sConn == null )
{
sConn = new StoreConnection(dsg) ;
JournalControl.recoverFromJournal(dsg, sConn.transactionManager.getJournal()) ;
if ( ! location.isMemUnique() )
// Don't cache use-once in-memory datasets.
cache.put(location, sConn) ;
String NS = TDB.PATH ;
TransactionInfo txInfo = new TransactionInfo(sConn.getTransMgr()) ;
ARQMgt.register(NS+".system:type=Transactions", txInfo) ;