|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.tdb.StoreConnection
public class StoreConnection
Interface to the TDB transaction mechanism.
Method Summary | |
---|---|
com.hp.hpl.jena.tdb.transaction.DatasetGraphTxn |
begin(ReadWrite mode)
Begin a transaction. |
com.hp.hpl.jena.tdb.transaction.DatasetGraphTxn |
begin(ReadWrite mode,
String label)
Begin a transaction, giving it a label. |
static StoreConnection |
createMemUncached()
Return a StoreConnection backed by in-memory datastructures (for testing). |
static void |
expel(com.hp.hpl.jena.tdb.base.file.Location location,
boolean force)
Stop managing a location. |
com.hp.hpl.jena.tdb.store.DatasetGraphTDB |
getBaseDataset()
testing operation - do not use the base dataset without knowing how the transaction system uses it |
static StoreConnection |
getExisting(com.hp.hpl.jena.tdb.base.file.Location location)
Return the StoreConnection if one already exists for this location, else return null |
com.hp.hpl.jena.tdb.base.file.Location |
getLocation()
|
com.hp.hpl.jena.tdb.transaction.SysTxnState |
getTransMgrState()
Return a description of the transaction manager state |
boolean |
haveUsedInTransaction()
|
static StoreConnection |
make(com.hp.hpl.jena.tdb.base.file.Location location)
Return a StoreConnection for a particular connection. |
static StoreConnection |
make(String location)
Obtain a StoreConenction for a particular location |
static void |
release(com.hp.hpl.jena.tdb.base.file.Location location)
Stop managing a location. |
static void |
reset()
Stop managing all locations. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean haveUsedInTransaction()
public com.hp.hpl.jena.tdb.base.file.Location getLocation()
public com.hp.hpl.jena.tdb.transaction.SysTxnState getTransMgrState()
public com.hp.hpl.jena.tdb.transaction.DatasetGraphTxn begin(ReadWrite mode)
Transaction.commit()
or Transaction.abort()
. Terminate a
write transaction with Transaction.close()
.
public com.hp.hpl.jena.tdb.transaction.DatasetGraphTxn begin(ReadWrite mode, String label)
Transaction.commit()
or Transaction.abort()
.
Terminate a write transaction with Transaction.close()
.
public com.hp.hpl.jena.tdb.store.DatasetGraphTDB getBaseDataset()
public static StoreConnection make(String location)
public static void reset()
public static void release(com.hp.hpl.jena.tdb.base.file.Location location)
public static void expel(com.hp.hpl.jena.tdb.base.file.Location location, boolean force)
public static StoreConnection make(com.hp.hpl.jena.tdb.base.file.Location location)
public static StoreConnection getExisting(com.hp.hpl.jena.tdb.base.file.Location location)
public static StoreConnection createMemUncached()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |