Class FabricFlwConfig

java.lang.Object
dev.engine_room.flywheel.impl.FabricFlwConfig
All Implemented Interfaces:
FlwConfig

public class FabricFlwConfig extends Object implements FlwConfig
  • Field Details

    • PATH

      public static final Path 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

      public static final FabricFlwConfig INSTANCE
    • backend

      public Backend backend
    • useDefaultBackend

      public boolean useDefaultBackend
    • limitUpdates

      public boolean limitUpdates
    • workerThreads

      public int workerThreads
    • backendConfig

      public final FabricFlwConfig.FabricBackendConfig backendConfig
  • Constructor Details

    • FabricFlwConfig

      public FabricFlwConfig(File file)
  • Method Details

    • backend

      public Backend backend()
      Specified by:
      backend in interface FlwConfig
    • limitUpdates

      public boolean limitUpdates()
      Specified by:
      limitUpdates in interface FlwConfig
    • workerThreads

      public int workerThreads()
      Specified by:
      workerThreads in interface FlwConfig
    • backendConfig

      public BackendConfig backendConfig()
      Specified by:
      backendConfig in interface FlwConfig
    • load

      public void load()
    • save

      public void save()
    • fromJson

      public void fromJson(com.google.gson.JsonElement json)
    • toJson

      public com.google.gson.JsonObject toJson()