Class ConfigStorageSupplier<K,V>
- java.lang.Object
-
- me.hsgamer.topper.spigot.agent.storage.simple.supplier.ConfigStorageSupplier<K,V>
-
- All Implemented Interfaces:
DataStorageSupplier<K,V>
public class ConfigStorageSupplier<K,V> extends Object implements DataStorageSupplier<K,V>
-
-
Constructor Summary
Constructors Constructor Description ConfigStorageSupplier(Executor mainThreadExecutor, UnaryOperator<String> configNameProvider, Function<File,me.hsgamer.hscore.config.Config> configProvider, File holderBaseFolder, FlatEntryConverter<K,V> converter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataStorage<K,V>
getStorage(String name)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface me.hsgamer.topper.agent.storage.simple.supplier.DataStorageSupplier
disable, enable
-
-
-
-
Constructor Detail
-
ConfigStorageSupplier
public ConfigStorageSupplier(Executor mainThreadExecutor, UnaryOperator<String> configNameProvider, Function<File,me.hsgamer.hscore.config.Config> configProvider, File holderBaseFolder, FlatEntryConverter<K,V> converter)
-
-
Method Detail
-
getStorage
public DataStorage<K,V> getStorage(String name)
- Specified by:
getStorage
in interfaceDataStorageSupplier<K,V>
-
-