Class SpigotDataStorageBuilder<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>
-
- me.hsgamer.topper.spigot.agent.storage.simple.SpigotDataStorageBuilder<K,V>
-
- Direct Known Subclasses:
NumberStorageBuilder
public class SpigotDataStorageBuilder<K,V> extends DataStorageBuilder<K,V>
-
-
Constructor Summary
Constructors Constructor Description SpigotDataStorageBuilder(org.bukkit.plugin.java.JavaPlugin plugin, File holderBaseFolder, Supplier<DatabaseSetting> databaseSettingSupplier, FlatEntryConverter<K,V> flatEntryConverter, SqlEntryConverter<K,V> sqlEntryConverter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Executor
getMainThreadExecutor()
UnaryOperator<Runnable>
getRunTaskFunction()
-
Methods inherited from class me.hsgamer.topper.agent.storage.simple.builder.DataStorageBuilder
buildSupplier, getFlatEntryConverter, getHolderBaseFolder, getSqlEntryConverter
-
Methods inherited from class me.hsgamer.hscore.builder.Builder
build, build, getRegisteredMap, register, register, register, register
-
-
-
-
Constructor Detail
-
SpigotDataStorageBuilder
public SpigotDataStorageBuilder(org.bukkit.plugin.java.JavaPlugin plugin, File holderBaseFolder, Supplier<DatabaseSetting> databaseSettingSupplier, FlatEntryConverter<K,V> flatEntryConverter, SqlEntryConverter<K,V> sqlEntryConverter)
-
-
Method Detail
-
getRunTaskFunction
public UnaryOperator<Runnable> getRunTaskFunction()
-
getMainThreadExecutor
public Executor getMainThreadExecutor()
-
-