|
I think we can get rid of the CassandraDatastoreProvider#metaDataCache field. It only is used for testing (get number of entities), and there we can get the table names by iterating over the entity persisters accessible through the session factory.
If that data actually is needed, it would have to be a thread-safe map as DatastoreProvider is accessed concurrently.
|