public class RetryUpgradeActionService
extends com.google.common.util.concurrent.AbstractScheduledService
Constructor and Description |
---|
RetryUpgradeActionService() |
Modifier and Type | Method and Description |
---|---|
void |
retryHoldingCommandsInRequest(Long requestId)
Retry HOLDING_* tasks for the given Request Id if the tasks meet certain criteria.
|
protected void |
runOneIteration()
Analyze each cluster for any active upgrades and attempt to retry any actions in a HOLDING_* status.
|
protected com.google.common.util.concurrent.AbstractScheduledService.Scheduler |
scheduler() |
void |
setMaxTimeout(int mins) |
protected void |
startUp()
Only run if the timeout mins is positive.
|
protected com.google.common.util.concurrent.AbstractScheduledService.Scheduler scheduler()
scheduler
in class com.google.common.util.concurrent.AbstractScheduledService
protected void startUp() throws Exception
startUp
in class com.google.common.util.concurrent.AbstractScheduledService
Exception
public void setMaxTimeout(int mins)
protected void runOneIteration() throws Exception
runOneIteration
in class com.google.common.util.concurrent.AbstractScheduledService
Exception
public void retryHoldingCommandsInRequest(Long requestId)
requestId
- Request Id to search tasks for.Copyright © 2022 Apache Software Foundation. All rights reserved.