Class LogScrapingRecoveryErrorDetector
java.lang.Object
dev.snowdrop.boot.narayana.openshift.recovery.LogScrapingRecoveryErrorDetector
- All Implemented Interfaces:
RecoveryErrorDetector
Detects errors in recovery scan by scraping the logs.
- Author:
- Nicola Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionLogScrapingRecoveryErrorDetector(String podName, String pattern, io.fabric8.kubernetes.client.KubernetesClient kubernetesClient) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidprotected voidvoid
-
Constructor Details
-
LogScrapingRecoveryErrorDetector
-
-
Method Details
-
startDetection
public void startDetection()- Specified by:
startDetectionin interfaceRecoveryErrorDetector
-
startLogScraping
protected void startLogScraping() -
stopDetection
public void stopDetection()- Specified by:
stopDetectionin interfaceRecoveryErrorDetector
-
errorsDetected
public boolean errorsDetected()- Specified by:
errorsDetectedin interfaceRecoveryErrorDetector
-