Interface IAbortActivity
-
- All Known Subinterfaces:
IProcessActivity
,ISeedingActivity
- All Known Implementing Classes:
SeedingActivity
,WorkerThread.ProcessActivity
public interface IAbortActivity
This interface abstracts from the activities that handle job aborts.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_rcsid
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkJobStillActive()
Check whether current job is still active.
-
-
-
Field Detail
-
_rcsid
static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
-
Method Detail
-
checkJobStillActive
void checkJobStillActive() throws ManifoldCFException, ServiceInterruption
Check whether current job is still active. This method is provided to allow an individual connector that needs to wait on some long-term condition to give up waiting due to the job itself being aborted. If the connector should abort, this method will raise a properly-formed ServiceInterruption, which if thrown to the caller, will signal that the current seeding activity remains incomplete and must be retried when the job is resumed.
-
-