code: @Override
      public void destroy()
      {
          if (indexManager != null)
          {
              indexManager.close();
          }
          if (schemaManager != null)
          {
              schemaManager.dropSchema();
          }
          schemaManager = null;
          externalProperties = null;
  
          for (Object connectionPool : hostPools.values())
          {
              if (connectionPool != null && connectionPool.getClass().isAssignableFrom(ConnectionPool.class))
              {
                  ((ConnectionPool) connectionPool).close(true);
              }
          }
          ((CassandraRetryService) hostRetryService).shutdown();
      }
docs: /* (non-Javadoc)
  @see com.impetus.kundera.loader.ClientLifeCycleManager#destroy()