|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.search.journal.impl.SharedFilesystemJournalStorage
public class SharedFilesystemJournalStorage
| Constructor Summary | |
|---|---|
SharedFilesystemJournalStorage()
|
|
| Method Summary | |
|---|---|
void |
close(IndexTransaction transaction)
|
void |
commitSave(JournalStorageState jss)
perform the commit on the transaction in jss |
void |
destroy()
|
JournalSettings |
getJournalSettings()
|
File |
getLocalJournalLocation(long savePoint,
String workingSpace)
|
void |
init()
|
JournalStorageState |
prepareSave(String location,
long transactionId)
prepare the current transaction for commit, 2PC |
void |
removeJournal(long savePoint)
|
void |
retrieveSavePoint(long savePoint,
String workingSpace)
Get a savePoint from the committed store into a permanent local space, indexed on the transaction or savePoint id |
void |
rollbackSave(JournalStorageState jss)
rollback the transaction in jss |
void |
setJournalSettings(JournalSettings journalSettings)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SharedFilesystemJournalStorage()
| Method Detail |
|---|
public void init()
public void destroy()
public JournalStorageState prepareSave(String location,
long transactionId)
throws IOException
JournalStorage
prepareSave in interface JournalStorageIOException
public void commitSave(JournalStorageState jss)
throws IOException
JournalStorage
commitSave in interface JournalStorageIOExceptionpublic void rollbackSave(JournalStorageState jss)
JournalStorage
rollbackSave in interface JournalStorage
public void retrieveSavePoint(long savePoint,
String workingSpace)
throws IOException
JournalStorage
retrieveSavePoint in interface JournalStorageIOException
IOExceptionorg.sakaiproject.search.maintanence.api.JournalStorage#retrieveLaterSavePoints(long[],
java.lang.String)
public void close(IndexTransaction transaction)
throws IndexTransactionException
IndexTransactionExceptionTransactionListener.close(org.sakaiproject.search.transaction.api.IndexTransaction)
public File getLocalJournalLocation(long savePoint,
String workingSpace)
savePoint - workingSpace -
public void removeJournal(long savePoint)
throws IOException
savePoint -
IOExceptionpublic JournalSettings getJournalSettings()
public void setJournalSettings(JournalSettings journalSettings)
journalSettings - the journalSettings to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||