Package dev.engine_room.flywheel.impl
Class FabricFlwConfig
java.lang.Object
dev.engine_room.flywheel.impl.FabricFlwConfig
- All Implemented Interfaces:
FlwConfig
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptiondev.engine_room.flywheel.api.backend.Backendstatic final FabricFlwConfigstatic final booleanbooleanstatic final Pathbooleanstatic final intstatic final intintFields inherited from interface dev.engine_room.flywheel.impl.FlwConfig
DEFAULT_BACKEND_STR -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PATH
-
LIMIT_UPDATES_DEFAULT
public static final boolean LIMIT_UPDATES_DEFAULT- See Also:
-
WORKER_THREADS_DEFAULT
public static final int WORKER_THREADS_DEFAULT- See Also:
-
WORKER_THREADS_MAX
public static final int WORKER_THREADS_MAX -
INSTANCE
-
backend
public dev.engine_room.flywheel.api.backend.Backend backend -
useDefaultBackend
public boolean useDefaultBackend -
limitUpdates
public boolean limitUpdates -
workerThreads
public int workerThreads -
backendConfig
-
-
Constructor Details
-
FabricFlwConfig
-
-
Method Details
-
backend
public dev.engine_room.flywheel.api.backend.Backend backend() -
limitUpdates
public boolean limitUpdates()- Specified by:
limitUpdatesin interfaceFlwConfig
-
workerThreads
public int workerThreads()- Specified by:
workerThreadsin interfaceFlwConfig
-
backendConfig
public dev.engine_room.flywheel.backend.BackendConfig backendConfig()- Specified by:
backendConfigin interfaceFlwConfig
-
load
public void load() -
save
public void save() -
fromJson
public void fromJson(com.google.gson.JsonElement json) -
toJson
public com.google.gson.JsonObject toJson()
-