decision.handleCancellationEvent();
return decision.isDone();
}
boolean handleCancelTimerFailed(HistoryEvent event) {
CancelTimerFailedEventAttributes attributes = event.getCancelTimerFailedEventAttributes();
DecisionStateMachine decision = getDecision(new DecisionId(DecisionTarget.TIMER, attributes.getTimerId()));
decision.handleCancellationFailureEvent(event);
return decision.isDone();
}