org.opensolaris.opengrok.management
Interface AgentIndexRunnerMBean

All Known Implementing Classes:
AgentIndexRunner

public interface AgentIndexRunnerMBean


Method Summary
 void disable()
           
 void enable()
           
 java.lang.Exception getExceptions()
          Get Exception from last run
 void index(boolean waitForFinished)
          Start indexing outside the timer
 long lastIndexTimeFinished()
          Last index time in System.currentmillis of successful index update
 long lastIndexTimeStarted()
          Last index time in System.currentmillis
 long lastIndexTimeUsed()
          Last index time usage for successful indexing (no exceptions)
 

Method Detail

enable

void enable()

disable

void disable()

lastIndexTimeFinished

long lastIndexTimeFinished()
Last index time in System.currentmillis of successful index update

Returns:
long when last time the indexing finished

lastIndexTimeStarted

long lastIndexTimeStarted()
Last index time in System.currentmillis

Returns:
long when last time indexing started

lastIndexTimeUsed

long lastIndexTimeUsed()
Last index time usage for successful indexing (no exceptions)

Returns:
long how long the last index lasted

index

void index(boolean waitForFinished)
Start indexing outside the timer

Parameters:
waitForFinished - wait for it to finish or just return when started

getExceptions

java.lang.Exception getExceptions()
Get Exception from last run

Returns:
Exception if any or null if no Exceptions.