|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xcmis.search.lucene.index.FileSystemTransactionLog
public class FileSystemTransactionLog
Created by The eXo Platform SAS.
| Field Summary | |
|---|---|
static int |
LOG_DIR_COUNT
|
| Constructor Summary | |
|---|---|
FileSystemTransactionLog(File srcFile,
FSIndexTransactionService storage)
Constructor for recovery case. |
|
FileSystemTransactionLog(Set<String> addedDocumentsUuids,
Set<String> removedDocumentsUuids,
FSIndexTransactionService storage)
Constructor for ordinary case. |
|
| Method Summary | |
|---|---|
Set<String> |
getAddedList()
Returns set of added uuid. |
Set<String> |
getRemovedList()
Returns set of removed uuid. |
void |
load()
Load transaction from storage. |
void |
log()
Log transaction to storage. |
void |
removeLog()
Remove logged transaction from storage. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int LOG_DIR_COUNT
| Constructor Detail |
|---|
public FileSystemTransactionLog(File srcFile,
FSIndexTransactionService storage)
throws TransactionLogException
srcFile - - source file.storage - - transaction storage.
TransactionLogException
public FileSystemTransactionLog(Set<String> addedDocumentsUuids,
Set<String> removedDocumentsUuids,
FSIndexTransactionService storage)
indexTransaction - - IndexTransactionstorage - - transaction storage.rootDir - - Root directory file.| Method Detail |
|---|
public Set<String> getAddedList()
throws TransactionLogException
getAddedList in interface TransactionLogTransactionLogException
public Set<String> getRemovedList()
throws TransactionLogException
getRemovedList in interface TransactionLogTransactionLogException
public void load()
throws TransactionLogException
load in interface TransactionLogTransactionLogException - - on load transaction log exception.
public void log()
throws TransactionLogException
log in interface TransactionLogTransactionLogException - - on log transaction log exception.
public void removeLog()
throws TransactionLogException
removeLog in interface TransactionLogTransactionLogException - - on remove transaction log exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||