Class StorageData

java.lang.Object
com.illumon.iris.db.v2.routing.impl.yaml.StorageData
All Implemented Interfaces:
StorageConfig

public class StorageData extends Object implements StorageConfig
YAML based implementation of StorageConfig.
  • Constructor Details

    • StorageData

      public StorageData(@NotNull String name, @Nullable String dbRoot)
      Constructor
      Parameters:
      name - The name of the storage
      dbRoot - The root of the storage
    • StorageData

      public StorageData(@NotNull String name, @NotNull Map<?,Object> yml)
      Constructor
      Parameters:
      name - The name of the storage
      yml - The yml defining the storage configuration
  • Method Details