org.xcmis.search.lucene.index
Class FSIndexTransactionService
java.lang.Object
org.xcmis.search.lucene.index.FSIndexTransactionService
- All Implemented Interfaces:
- IndexTransactionService
public class FSIndexTransactionService
- extends Object
- implements IndexTransactionService
Created by The eXo Platform SAS.
Date:
- Version:
- $Id: FSIndexTransactionService.java 2 2010-02-04 17:21:49Z andrew00x $
- Author:
- Karpenko Sergiy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FSIndexTransactionService
public FSIndexTransactionService(File storageDir,
ConcurrentDirectoryFactory lockFactory)
getLockFactory
public final ConcurrentDirectoryFactory getLockFactory()
getStorageDir
public final File getStorageDir()
getTransactionLogs
public List<TransactionLog> getTransactionLogs()
throws TransactionLogException
- Throws:
TransactionLogException
hasUncommitedTransactions
public boolean hasUncommitedTransactions()
-
getFileList
protected List<File> getFileList(File dir)
- Return file list from storage.
- Parameters:
dir - - storage of files
- Returns:
- Complete list of storage files.Or empty list if there is no files.
Copyright © 2011 eXo Platform SAS. All Rights Reserved.