Package 

Class CoreKt

  • All Implemented Interfaces:

    
    public final class CoreKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Boolean getDisableChecks() Disable heavy and optional checks in runtime.
      void setDisableChecks(Boolean disableChecks) Disable heavy and optional checks in runtime.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getDisableChecks

         Boolean getDisableChecks()

        Disable heavy and optional checks in runtime. This flag can be enabled to get a small performance boost. Do NOT do this on development (it could mask problems) and enable it on production only if you have tested your application extensively.

        It's initial value is taken from the DISABLE_CHECKS flag. See Jvm.systemFlag for details on how flags are checked on a JVM.

        This variable can be changed on code to affect only certain parts of the code, however this is not advised and should be done carefully.

      • setDisableChecks

         void setDisableChecks(Boolean disableChecks)

        Disable heavy and optional checks in runtime. This flag can be enabled to get a small performance boost. Do NOT do this on development (it could mask problems) and enable it on production only if you have tested your application extensively.

        It's initial value is taken from the DISABLE_CHECKS flag. See Jvm.systemFlag for details on how flags are checked on a JVM.

        This variable can be changed on code to affect only certain parts of the code, however this is not advised and should be done carefully.