Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

indri::collection::RepositoryMaintenanceThread Class Reference

#include <RepositoryMaintenanceThread.hpp>

Inheritance diagram for indri::collection::RepositoryMaintenanceThread:

indri::thread::UtilityThread List of all members.

Public Member Functions

 RepositoryMaintenanceThread (class Repository &repository, UINT64 memory)
UINT64 initialize ()
UINT64 work ()
bool hasWork ()
void deinitialize ()
void write ()
void merge ()

Private Types

enum  { WRITE, MERGE, TRIM }

Private Attributes

Repository_repository
indri::thread::Mutex _requestLock
std::queue< int > _requests
UINT64 _memory

Member Enumeration Documentation

anonymous enum [private]
 

Enumeration values:
WRITE 
MERGE 
TRIM 


Constructor & Destructor Documentation

indri::collection::RepositoryMaintenanceThread::RepositoryMaintenanceThread class Repository repository,
UINT64  memory
 


Member Function Documentation

void indri::collection::RepositoryMaintenanceThread::deinitialize  )  [virtual]
 

Implements indri::thread::UtilityThread.

bool indri::collection::RepositoryMaintenanceThread::hasWork  )  [virtual]
 

Implements indri::thread::UtilityThread.

UINT64 indri::collection::RepositoryMaintenanceThread::initialize  )  [virtual]
 

Implements indri::thread::UtilityThread.

void indri::collection::RepositoryMaintenanceThread::merge  ) 
 

UINT64 indri::collection::RepositoryMaintenanceThread::work  )  [virtual]
 

Implements indri::thread::UtilityThread.

void indri::collection::RepositoryMaintenanceThread::write  ) 
 


Member Data Documentation

UINT64 indri::collection::RepositoryMaintenanceThread::_memory [private]
 

class Repository& indri::collection::RepositoryMaintenanceThread::_repository [private]
 

indri::thread::Mutex indri::collection::RepositoryMaintenanceThread::_requestLock [private]
 

std::queue<int> indri::collection::RepositoryMaintenanceThread::_requests [private]
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:00 2010 for Lemur by doxygen 1.3.4