public interface DistributedStorageProvider
DistributedStorage and DistributedStorageAdmin instances.
Each storage adapter should implement this class to instantiate its implementations of DistributedStorage and DistributedStorageAdmin. The implementations are assumed to be
loaded by ServiceLoader.| Modifier and Type | Method and Description |
|---|---|
DistributedStorage |
createDistributedStorage(DatabaseConfig config)
Creates an instance of
DistributedStorage for the adapter. |
DistributedStorageAdmin |
createDistributedStorageAdmin(DatabaseConfig config)
Creates an instance of
DistributedStorageAdmin for the adapter. |
java.lang.String |
getName()
Returns the name of the adapter.
|
java.lang.String getName()
DatabaseConfig.STORAGE.DistributedStorage createDistributedStorage(DatabaseConfig config)
DistributedStorage for the adapter.config - a database configDistributedStorage for the adapterDistributedStorageAdmin createDistributedStorageAdmin(DatabaseConfig config)
DistributedStorageAdmin for the adapter.config - a database configDistributedStorageAdmin for the adapter