public class MongoStorageProvider extends Object implements StorageProvider
| Constructor and Description |
|---|
MongoStorageProvider() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandleProtocol()
Method which determines if this StorageProvider can handle the given
protocol as set via
StorageProvider.setConfig(StartupConfiguration). |
Storage |
createStorage()
Creates a new
Storage. |
void |
setConfig(StartupConfiguration configuration)
Sets the to-be-used configuration of this StorageProvider.
|
public void setConfig(StartupConfiguration configuration)
StorageProviderStorageProvider.canHandleProtocol().setConfig in interface StorageProviderpublic Storage createStorage()
StorageProviderStorage.createStorage in interface StorageProviderpublic boolean canHandleProtocol()
StorageProviderStorageProvider.setConfig(StartupConfiguration).
StorageProvider.setConfig(StartupConfiguration).canHandleProtocol in interface StorageProviderStorageProvider.createStorage() can be safely called
given this config. false otherwise.Copyright © 2013. All Rights Reserved.