org.apache.oodt.cas.pushpull.daemon
Interface DaemonRmiInterface

All Superinterfaces:
Remote
All Known Implementing Classes:
Daemon

public interface DaemonRmiInterface
extends Remote

Version:
$Revision$

Describe your class here

.
Author:
bfoster

Method Summary
 long getAverageRunTime()
          Average runtime for the Crawler
 long getDaemonCreationTime()
          Gets the time in milliseconds for when the CrawlDaemon constructor was invoked.
 boolean getHasBeenToldToQuit()
           
 long getMillisCrawling()
          Gets the total crawling time of the Crawler
 int getNumCrawls()
          Gets the total number of times the Crawler has been run
 long getTimeInterval()
          Gets the time between the start of Crawler executions
 boolean isRunning()
          Can be used to determine if Crawler is presently running
 void quit()
          Will terminate the CrawlDaemon.
 void resume()
          Wakes up the CrawlDaemon if it is sleeping
 

Method Detail

resume

void resume()
            throws RemoteException
Wakes up the CrawlDaemon if it is sleeping

Throws:
RemoteException

quit

void quit()
          throws RemoteException
Will terminate the CrawlDaemon. If its Crawler is crawling a site when this method is called, the terminate won't take place until after the Crawler has complete crawling that site.

Throws:
RemoteException

isRunning

boolean isRunning()
                  throws RemoteException
Can be used to determine if Crawler is presently running

Returns:
true if Crawler is runnning
Throws:
RemoteException

getAverageRunTime

long getAverageRunTime()
                       throws RemoteException
Average runtime for the Crawler

Returns:
average runtime for the Crawler
Throws:
RemoteException

getMillisCrawling

long getMillisCrawling()
                       throws RemoteException
Gets the total crawling time of the Crawler

Returns:
Total crawling time of Crawler
Throws:
RemoteException

getTimeInterval

long getTimeInterval()
                     throws RemoteException
Gets the time between the start of Crawler executions

Returns:
Time interval between Crawler start times
Throws:
RemoteException

getNumCrawls

int getNumCrawls()
                 throws RemoteException
Gets the total number of times the Crawler has been run

Returns:
The number of times Crawler has run
Throws:
RemoteException

getDaemonCreationTime

long getDaemonCreationTime()
                           throws RemoteException
Gets the time in milliseconds for when the CrawlDaemon constructor was invoked.

Returns:
Throws:
RemoteException

getHasBeenToldToQuit

boolean getHasBeenToldToQuit()
                             throws RemoteException
Throws:
RemoteException


Copyright © 1999-2011 Apache OODT. All Rights Reserved.