Class LogScrapingRecoveryErrorDetector
- java.lang.Object
-
- me.snowdrop.boot.narayana.openshift.recovery.LogScrapingRecoveryErrorDetector
-
- All Implemented Interfaces:
RecoveryErrorDetector
public class LogScrapingRecoveryErrorDetector extends Object implements RecoveryErrorDetector
Detects errors in recovery scan by scraping the logs.- Author:
- Nicola Ferraro
-
-
Constructor Summary
Constructors Constructor Description LogScrapingRecoveryErrorDetector(String podName, String pattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanerrorsDetected()voidstartDetection()protected voidstartLogScraping()voidstopDetection()
-
-
-
Method Detail
-
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
-
-