Class HeadlessApplicationConfiguration


  • public class HeadlessApplicationConfiguration
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int maxNetThreads
      The maximum number of threads to use for network requests.
      java.lang.String preferencesDirectory
      Preferences directory for headless.
      int updatesPerSecond
      The amount of updates targeted per second.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • updatesPerSecond

        public int updatesPerSecond
        The amount of updates targeted per second. Use 0 to never sleep; negative to not call the render method at all. Default is 60.
      • preferencesDirectory

        public java.lang.String preferencesDirectory
        Preferences directory for headless. Default is ".prefs/".
      • maxNetThreads

        public int maxNetThreads
        The maximum number of threads to use for network requests. Default is Integer.MAX_VALUE.
    • Constructor Detail

      • HeadlessApplicationConfiguration

        public HeadlessApplicationConfiguration()