Interface IDhApiMultiThreadingConfig

All Superinterfaces:
IBindable, IDhApiConfigGroup

public interface IDhApiMultiThreadingConfig extends IDhApiConfigGroup
Distant Horizons' threading configuration.
Since:
API 1.0.0
  • Method Details

    • threadCount

      IDhApiConfigValue<Integer> threadCount()
      Defines how many threads Distant Horizons uses.
      Since:
      API 4.0.0
    • threadRuntimeRatio

      IDhApiConfigValue<Double> threadRuntimeRatio()
      Defines how many long Distant Horizons threads will spend running vs sleeping. This is helpful when reducing the CPU load on low end CPUs. 1.0 = 100% uptime 0.5 = 50% uptime 0.1 = 10% uptime
      Since:
      API 4.0.0