Skip to content

Commit

Permalink
[incubator-kie-issues-597] PIM fails to handle timers when org.jbpm.t…
Browse files Browse the repository at this point in the history
…imer.disableUnmarshallerRegistration is set to true
  • Loading branch information
elguardian committed Oct 5, 2023
1 parent 5b13798 commit 51bcade
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package org.drools.core.time;

import java.util.Collection;
import java.util.Optional;

import org.drools.core.time.impl.TimerJobFactoryManager;
import org.drools.core.time.impl.TimerJobInstance;
Expand Down Expand Up @@ -56,9 +57,15 @@ public interface TimerService extends SchedulerService {
* This method may return null for some TimerService implementations that do not want the overhead of maintain this.
* @return
*/
Collection<TimerJobInstance> getTimerJobInstances(long id);
Collection<TimerJobInstance> getTimerJobInstances(long kieSessionId);

default Optional<TimerJobInstance> getTimerJobInstanceByTimerId(Long processInstanceId, Long timerId) {
return Optional.empty();
}

void setTimerJobFactoryManager(TimerJobFactoryManager timerJobFactoryManager);

TimerJobFactoryManager getTimerJobFactoryManager();


}

0 comments on commit 51bcade

Please sign in to comment.