|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.sailimpl.nativerdf.datastore.IDFile
Class supplying access to an ID file.
| Constructor Summary | |
IDFile(File file)
|
|
| Method Summary | |
void |
clear()
|
void |
close()
|
void |
commitTransaction()
|
int |
getMaxID()
|
int |
getNewID()
Gets a new and unused ID that can be assign to new data. |
long |
getOffset(int id,
boolean dirtyReads)
Gets the offset of the data entry with the specified ID. |
void |
rollbackTransaction()
|
void |
startTransaction(boolean isolateTransaction)
|
void |
storeOffset(int id,
long offset)
Stores the offset of a new data entry with the specified ID. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IDFile(File file)
throws IOException
| Method Detail |
public void startTransaction(boolean isolateTransaction)
throws IOException
IOException
public void commitTransaction()
throws IOException
IOException
public void rollbackTransaction()
throws IOException
IOException
public int getNewID()
throws IOException
IOException
public int getMaxID()
throws IOException
IOException
public void storeOffset(int id,
long offset)
throws IOException
IOException
public long getOffset(int id,
boolean dirtyReads)
throws IOException
IOException
public void clear()
throws IOException
IOException
public void close()
throws IOException
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||