net.conquiris.api.index
Interface IndexerService

All Known Subinterfaces:
LocalIndexerService

public interface IndexerService

Interface for an indexer service.

Author:
Andres Rodriguez.

Method Summary
 IndexReport getIndexReport(IndexReportLevel level)
          Returns a report from the index.
 void reindex()
          Schedules a tasks that changes the index checkpoint.
 void setCheckpoint(String checkpoint)
          Schedules a tasks that changes the index checkpoint.
 void setDelays(Delays delays)
          Set the delay specification.
 void start()
          Starts the service.
 void stop()
          Stops the service.
 

Method Detail

getIndexReport

IndexReport getIndexReport(IndexReportLevel level)
Returns a report from the index.

Parameters:
level - Desired level.
Returns:
The requested report.

setDelays

void setDelays(Delays delays)
Set the delay specification.

Parameters:
delays - New delay specification.

start

void start()
Starts the service. It is a no-op if the service is already running.


stop

void stop()
Stops the service. It is a no-op if the service is already stopped.


setCheckpoint

void setCheckpoint(@Nullable
                   String checkpoint)
Schedules a tasks that changes the index checkpoint. It is a no-op if the service is stopped or the activation policy is disabled. This operation is asynchronous.


reindex

void reindex()
Schedules a tasks that changes the index checkpoint. It is a no-op if the service is stopped or the activation policy is disabled. This operation is asynchronous.



Copyright © 2012 Derquinse Projects.. All Rights Reserved.