Class TotalCompletionTimeLoadCalculator
- java.lang.Object
-
- org.jbpm.services.task.assignment.impl.AbstractLoadCalculator
-
- org.jbpm.services.task.assignment.impl.TotalCompletionTimeLoadCalculator
-
- All Implemented Interfaces:
org.jbpm.services.task.assignment.LoadCalculator
public class TotalCompletionTimeLoadCalculator extends org.jbpm.services.task.assignment.impl.AbstractLoadCalculator
-
-
Constructor Summary
Constructors Constructor Description TotalCompletionTimeLoadCalculator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Long
getTimeToLive()
Getter that returns the "time to live" for the cache containing task's average durationorg.jbpm.services.task.assignment.UserTaskLoad
getUserTaskLoad(org.kie.api.task.model.User user, org.kie.api.task.TaskContext context)
Collection<org.jbpm.services.task.assignment.UserTaskLoad>
getUserTaskLoads(List<org.kie.api.task.model.User> users, org.kie.api.task.TaskContext context)
-
-
-
Method Detail
-
getUserTaskLoad
public org.jbpm.services.task.assignment.UserTaskLoad getUserTaskLoad(org.kie.api.task.model.User user, org.kie.api.task.TaskContext context)
-
getUserTaskLoads
public Collection<org.jbpm.services.task.assignment.UserTaskLoad> getUserTaskLoads(List<org.kie.api.task.model.User> users, org.kie.api.task.TaskContext context)
-
getTimeToLive
public static Long getTimeToLive()
Getter that returns the "time to live" for the cache containing task's average duration- Returns:
-
-