Class RetryLockAcquisitionErrorHandler
java.lang.Object
io.quarkus.bootstrap.resolver.maven.FailAtCompletionErrorHandler
io.quarkus.bootstrap.resolver.maven.RetryLockAcquisitionErrorHandler
- All Implemented Interfaces:
ModelResolutionTaskErrorHandler
This error handler will collect errors thrown by the Maven resolver trying to acquire read or write locks
in the local Maven repository and will re-try the corresponding tasks with a blocking task runner.
In case other errors were caught, the re-try won't happen and a single error report will be logged and thrown
as a
RuntimeException to the caller.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidhandleError(ModelResolutionTask task, Exception error) Methods inherited from class io.quarkus.bootstrap.resolver.maven.FailAtCompletionErrorHandler
isEmpty
-
Constructor Details
-
RetryLockAcquisitionErrorHandler
public RetryLockAcquisitionErrorHandler()
-
-
Method Details
-
handleError
- Specified by:
handleErrorin interfaceModelResolutionTaskErrorHandler- Overrides:
handleErrorin classFailAtCompletionErrorHandler
-
allTasksFinished
public void allTasksFinished()- Specified by:
allTasksFinishedin interfaceModelResolutionTaskErrorHandler- Overrides:
allTasksFinishedin classFailAtCompletionErrorHandler
-