public class MongoPersistentStoreProvider extends BasePersistentStoreProvider
| Constructor and Description |
|---|
MongoPersistentStoreProvider(PersistentStoreRegistry<?> registry) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<V> PersistentStore<V> |
getOrCreateStore(PersistentStoreConfig<V> config)
Gets or creates a
persistent store for the given configuration. |
void |
start()
Sets up the provider.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOrCreateVersionedStorepublic MongoPersistentStoreProvider(PersistentStoreRegistry<?> registry)
public void start()
throws IOException
PersistentStoreProviderstart in interface PersistentStoreProviderstart in class BasePersistentStoreProviderIOExceptionpublic <V> PersistentStore<V> getOrCreateStore(PersistentStoreConfig<V> config)
PersistentStoreProviderpersistent store for the given configuration.
Note that implementors have liberty to cache previous store instances.V - store value typeconfig - store configurationpublic void close()
close in interface AutoCloseableclose in class BasePersistentStoreProviderCopyright © 2021 The Apache Software Foundation. All rights reserved.