@Override
public void handleRerun(String cluster, String entityType, String entityName,
String nominalTime, String runId, String wfId, long msgReceivedTime) {
try {
Entity entity = getEntity(entityType, entityName);
Retry retry = getRetry(entity);
if (retry == null) {
LOG.warn("Retry not configured for entity:" + entityType + "("
+ entity.getName() + "), ignoring failed retries");
return;
}
int attempts = retry.getAttempts();
Frequency delay = retry.getDelay();