Details
Description
The directory data store does a full sweep of the directory on creation, and then keeps that list of datastores... forever. This is not good, the list might be very very long, thus lead to high memroy consumption, plus the filesystem contents might change.
What about keeping a simple list of type names instead, and creating the datastore only when a feature source/schema for them is actually requested?