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

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-cassandra-core/src/main/java/org/apereo/cas/cassandra/DefaultCassandraSessionFactory.java