Interface ConcurrentScannerMonitoringAware
-
public interface ConcurrentScannerMonitoringAwareThe 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 longgetMaxTimeInMinutesForNoSuccessfulDocumentFetch()The framework will stop the connector and log failure if the connector didn't create any document for longer than the set time.voidsetMaxTimeForNoSuccessfulDocumentFetch(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
-
-