net.sf.lucis.core
Interface ReindexingStore

All Superinterfaces:
DirectoryProvider
All Known Implementing Classes:
ReindexingFSStore

public interface ReindexingStore
extends DirectoryProvider

A directory provider for full reindexings.

Author:
Andres Rodriguez

Method Summary
 String getCheckpoint()
          Returns the current checkpoint.
 Directory getDestinationDirectory()
          Returns the directory in which the new index must be created.
 void reindexed(String checkpoint)
          Called when a reindexing process has been completed.
 
Methods inherited from interface net.sf.lucis.core.DirectoryProvider
getDirectory, getManagedReader, getVersion
 

Method Detail

getCheckpoint

String getCheckpoint()
                     throws StoreException
Returns the current checkpoint.

Returns:
The current checkpoint or null if no checkpoint is available.
Throws:
StoreException

getDestinationDirectory

Directory getDestinationDirectory()
Returns the directory in which the new index must be created.

Returns:
The destitation directory.
Throws:
IndexException - if an error occurs.

reindexed

void reindexed(@Nullable
               String checkpoint)
Called when a reindexing process has been completed.

Parameters:
checkpoint - New index checkpoint.


Copyright © 2013. All Rights Reserved.