Interface ConcurrentScannerMonitoringAware
-
public interface ConcurrentScannerMonitoringAware
The scanner will implement this interface to support the configuration of monitoring parameters such as alert thresholds
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getMaxTimeInMinutesForNoSuccessfulDocumentFetch()
The framework will stop the connector and log failure if the connector didn't create any document for longer than the set time.void
setMaxTimeForNoSuccessfulDocumentFetch(long maxMinutes)
The framework will stop the connector and log failure if the connector didn't create any document for longer than the set time.
-
-
-
Method Detail
-
setMaxTimeForNoSuccessfulDocumentFetch
void setMaxTimeForNoSuccessfulDocumentFetch(long maxMinutes)
The framework will stop the connector and log failure if the connector didn't create any document for longer than the set time.- Parameters:
maxMinutes
- the maximum number of minutes
-
getMaxTimeInMinutesForNoSuccessfulDocumentFetch
long getMaxTimeInMinutesForNoSuccessfulDocumentFetch()
The framework will stop the connector and log failure if the connector didn't create any document for longer than the set time.- Returns:
- the maximum number of minutes
-
-