org.xcmis.search.lucene.index
Interface TransactionLog

All Known Implementing Classes:
CompositeTransactionLog, FileSystemTransactionLog

public interface TransactionLog

Created by The eXo Platform SAS.

Version:
$Id: TransactionLog.java 2 2010-02-04 17:21:49Z andrew00x $
Author:
Sergey Kabashnyuk

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.
 

Method Detail

getAddedList

Set<String> getAddedList()
                         throws TransactionLogException
Returns set of added uuid.

Returns:
Set of added uuid.
Throws:
TransactionLogException

getRemovedList

Set<String> getRemovedList()
                           throws TransactionLogException
Returns set of removed uuid.

Returns:
Set of removed uuid.
Throws:
TransactionLogException

load

void load()
          throws TransactionLogException
Load transaction from storage.

Throws:
TransactionLogException - - on load transaction log exception.

log

void log()
         throws TransactionLogException
Log transaction to storage.

Throws:
TransactionLogException - - on log transaction log exception.

removeLog

void removeLog()
               throws TransactionLogException
Remove logged transaction from storage.

Throws:
TransactionLogException - - on remove transaction log exception.


Copyright © 2011 eXo Platform SAS. All Rights Reserved.