@Override public void claim(long taskId, String userId, List<String> groupIds) { synchronized (ksession) { taskService.claim(taskId, userId, groupIds); } }
@Override public void claim(long taskId, String userId) { synchronized (ksession) { taskService.claim(taskId, userId); } }