tkalkirill commented on code in PR #773:
URL: https://github.com/apache/ignite-3/pull/773#discussion_r851100095
##########
modules/storage-api/src/main/java/org/apache/ignite/internal/storage/DataStorageModule.java:
##########
@@ -15,24 +15,29 @@
* limitations under the License.
*/
-package org.apache.ignite.internal.storage.engine;
+package org.apache.ignite.internal.storage;
import java.nio.file.Path;
import
org.apache.ignite.configuration.schemas.store.DataStorageConfigurationSchema;
import org.apache.ignite.internal.configuration.ConfigurationRegistry;
-import org.apache.ignite.internal.storage.StorageException;
+import org.apache.ignite.internal.storage.engine.StorageEngine;
/**
- * Factory for creating storage engines.
+ * Data storage module.
*/
-public interface StorageEngineFactory {
+public interface DataStorageModule {
/**
- * Returns the unique name of the storage engine.
+ * Returns the unique name of the data storage.
*
* <p>Used to map {@link DataStorageConfigurationSchema#name} to {@link
StorageEngine}.
*/
String name();
+ /**
+ * Returns the data storage configuration schema.
+ */
+ Class<? extends DataStorageConfigurationSchema> schema();
Review Comment:
Removed this method.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]