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)
StorageProvider
StorageProvider.canHandleProtocol()
.setConfig
in interface StorageProvider
public Storage createStorage()
StorageProvider
Storage
.createStorage
in interface StorageProvider
public boolean canHandleProtocol()
StorageProvider
StorageProvider.setConfig(StartupConfiguration)
.
StorageProvider.setConfig(StartupConfiguration)
.canHandleProtocol
in interface StorageProvider
StorageProvider.createStorage()
can be safely called
given this config. false otherwise.Copyright © 2013. All Rights Reserved.