26 lines
718 B
26 lines
718 B
![]()
17 years ago
|
package de.anomic.crawler;
|
||
![]()
19 years ago
|
|
||
![]()
17 years ago
|
public interface Importer {
|
||
![]()
19 years ago
|
|
||
|
// functions to pause and continue importing
|
||
|
public boolean isPaused();
|
||
|
public void pauseIt();
|
||
|
public void continueIt();
|
||
|
public void stopIt() throws InterruptedException;
|
||
|
public boolean isStopped();
|
||
|
|
||
|
// getting status information
|
||
|
public long getTotalRuntime();
|
||
|
public long getElapsedTime();
|
||
|
public long getEstimatedTime();
|
||
|
public int getProcessingStatusPercent();
|
||
|
|
||
|
public int getJobID();
|
||
![]()
18 years ago
|
public void setJobID(int id);
|
||
![]()
19 years ago
|
public String getJobName();
|
||
|
public String getJobType();
|
||
|
public String getError();
|
||
![]()
17 years ago
|
public String getStatus();
|
||
![]()
19 years ago
|
public void startIt();
|
||
|
}
|