Class DataStorageBuilder<K,V>
- java.lang.Object
-
- me.hsgamer.hscore.builder.MassBuilder<AbstractMap.SimpleEntry<String,R>,V>
-
- me.hsgamer.hscore.builder.Builder<Void,DataStorageSupplier<K,V>>
-
- me.hsgamer.topper.agent.storage.simple.builder.DataStorageBuilder<K,V>
-
- Direct Known Subclasses:
SpigotDataStorageBuilder
public class DataStorageBuilder<K,V> extends me.hsgamer.hscore.builder.Builder<Void,DataStorageSupplier<K,V>>
-
-
Constructor Summary
Constructors Constructor Description DataStorageBuilder(Supplier<DatabaseSetting> databaseSettingSupplier, File holderBaseFolder, FlatEntryConverter<K,V> flatEntryConverter, SqlEntryConverter<K,V> sqlEntryConverter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataStorageSupplier<K,V>
buildSupplier(String type)
FlatEntryConverter<K,V>
getFlatEntryConverter()
File
getHolderBaseFolder()
SqlEntryConverter<K,V>
getSqlEntryConverter()
-
Methods inherited from class me.hsgamer.hscore.builder.Builder
build, build, getRegisteredMap, register, register, register, register
-
-
-
-
Constructor Detail
-
DataStorageBuilder
public DataStorageBuilder(Supplier<DatabaseSetting> databaseSettingSupplier, File holderBaseFolder, FlatEntryConverter<K,V> flatEntryConverter, SqlEntryConverter<K,V> sqlEntryConverter)
-
-
Method Detail
-
buildSupplier
public DataStorageSupplier<K,V> buildSupplier(String type)
-
getHolderBaseFolder
public File getHolderBaseFolder()
-
getFlatEntryConverter
public FlatEntryConverter<K,V> getFlatEntryConverter()
-
getSqlEntryConverter
public SqlEntryConverter<K,V> getSqlEntryConverter()
-
-