public ObjectMetadataStore(Config config) { if (null == config) { throw new ArgumentNullException("config"); } _config = config; _store = new KeyValueStore(Path.Combine(config.BaseDataPath, "ObjectMetadataStore")); _nsStore = new KeyValueStore(Path.Combine(config.BaseDataPath, "ObjectNameSpaceStore")); _nsCache = new Dictionary<string, ObjectNameSpaceConfig>(StringComparer.OrdinalIgnoreCase); _mdCache = new Dictionary<string, ObjectMetadata>(StringComparer.OrdinalIgnoreCase); _InitCache(); }