@Override
    public void destroy() {
        influxDbConnectionFactory.close();
    }
This is {@link InfluxDbCasEventRepository}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-events-influxdb/src/main/java/org/apereo/cas/support/events/dao/InfluxDbCasEventRepository.java