Novak Djokovic vant ATP tittel nummer 101 i karrieren etter han slo ATP Finals-jagende Lorenzo Musetti i finalen.