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
package de.anomic.crawler;
|
|
|
|
public interface Importer {
|
|
|
|
// 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();
|
|
public void setJobID(int id);
|
|
public String getJobName();
|
|
public String getJobType();
|
|
public String getError();
|
|
public String getStatus();
|
|
public void startIt();
|
|
}
|