Search in sources :

Example 1 with SupervisorDecision

use of com.torodb.core.supervision.SupervisorDecision in project torodb by torodb.

the class RunnableTorodbService method escalateError.

public SupervisorDecision escalateError(Throwable error) {
    getLogger().trace("Escalating error to {}", getSupervisor());
    SupervisorDecision decision = getSupervisor().onError(this, error);
    executeSupervisorDecision(decision);
    return decision;
}
Also used : SupervisorDecision(com.torodb.core.supervision.SupervisorDecision)

Aggregations

SupervisorDecision (com.torodb.core.supervision.SupervisorDecision)1