You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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();
|
||
|
}
|