@Override
    public boolean delete(final RegisteredService registeredService) {
        try {
            cassandraSessionFactory.getCassandraTemplate()
                .deleteById(registeredService.getId(), CassandraRegisteredServiceHolder.class);
            return true;
        } catch (final Exception e) {
            LoggingUtils.error(LOGGER, e);
        }
        return false;
    }
This is {@link CassandraServiceRegistry}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-cassandra-service-registry/src/main/java/org/apereo/cas/services/cassandra/CassandraServiceRegistry.java