}
public static int updateTask(Task task, long newModifiedAt) throws Exception {
Connection connection = DirectTaskDatabaseConnection.getConnection();
synchronized (connection) {
return new TaskProcess(connection).updateTask(task, newModifiedAt);
}
}