public class Daemon extends UnicastRemoteObject implements DaemonRmiInterface, DaemonMBean
ref
Constructor and Description |
---|
Daemon(int rmiRegPort,
int daemonID,
Config config,
DaemonInfo daemonInfo,
SiteInfo siteInfo)
Constructor
|
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
equals, getRef, hashCode, toStub
public Daemon(int rmiRegPort, int daemonID, Config config, DaemonInfo daemonInfo, SiteInfo siteInfo) throws RemoteException, InstantiationException
public String getName()
public void registerDaemonListener(DaemonListener daemonListener)
public void startDaemon()
property
- The system property whose value is the path to a java
.properties file that is be used to create the CrawlerDirStructException
public int getDaemonID()
public void pauseDaemon()
public void resume()
resume
in interface DaemonRmiInterface
public void quit()
quit
in interface DaemonMBean
quit
in interface DaemonRmiInterface
public boolean isRunning()
isRunning
in interface DaemonMBean
isRunning
in interface DaemonRmiInterface
public long getAverageRunTime()
getAverageRunTime
in interface DaemonRmiInterface
public long getMillisCrawling()
getMillisCrawling
in interface DaemonRmiInterface
public long getTimeInterval()
getTimeInterval
in interface DaemonRmiInterface
public int getNumCrawls()
getNumCrawls
in interface DaemonRmiInterface
public String[] downloadedFilesInStagingArea()
downloadedFilesInStagingArea
in interface DaemonMBean
public String[] downloadingFilesInStagingArea()
downloadingFilesInStagingArea
in interface DaemonMBean
public int numberOfFilesDownloadingInStagingArea()
numberOfFilesDownloadingInStagingArea
in interface DaemonMBean
public int numberOfFilesDownloadedInStagingArea()
numberOfFilesDownloadedInStagingArea
in interface DaemonMBean
public long getTimeIntervalInMilliseconds()
getTimeIntervalInMilliseconds
in interface DaemonMBean
public long getEpsilonInMilliseconds()
getEpsilonInMilliseconds
in interface DaemonMBean
public boolean getRunOnReboot()
getRunOnReboot
in interface DaemonMBean
public Date getFirstRunDateTime()
getFirstRunDateTime
in interface DaemonMBean
public String getDataFilesRemoteSite()
getDataFilesRemoteSite
in interface DaemonMBean
public String getDataFilesRenamingConv()
getDataFilesRenamingConv
in interface DaemonMBean
public boolean getDeleteDataFilesFromServer()
getDeleteDataFilesFromServer
in interface DaemonMBean
public String getQueryMetadataElementName()
getQueryMetadataElementName
in interface DaemonMBean
public File getDataFilesStagingArea()
getDataFilesStagingArea
in interface DaemonMBean
public boolean getAllowAliasOverride()
getAllowAliasOverride
in interface DaemonMBean
public String getPropertyFilesRemoteSite()
getPropertyFilesRemoteSite
in interface DaemonMBean
public String getPropertyFilesRenamingConv()
getPropertyFilesRenamingConv
in interface DaemonMBean
public boolean getDeletePropertyFilesFromServer()
getDeletePropertyFilesFromServer
in interface DaemonMBean
public String getPropertyFilesOnSuccessDir()
getPropertyFilesOnSuccessDir
in interface DaemonMBean
public String getPropertyFilesOnFailDir()
getPropertyFilesOnFailDir
in interface DaemonMBean
public File getPropertyFilesLocalDir()
getPropertyFilesLocalDir
in interface DaemonMBean
public long getDaemonCreationTime()
getDaemonCreationTime
in interface DaemonRmiInterface
public boolean getHasBeenToldToQuit()
getHasBeenToldToQuit
in interface DaemonMBean
getHasBeenToldToQuit
in interface DaemonRmiInterface
public String toString()
toString
in class RemoteObject
public static void main(String[] args)
args
- Not UsedIOException
SecurityException
Copyright © 1999-2015 Apache OODT. All Rights Reserved.