Documentation of 'javolution37.javolution.Configuration' Java class
Configuration
javolution37.javolution

Class Configuration



  • public final class Configuration
    extends java.lang.Object
    This class centralizes Javolution configuration parameters. Applications may change the default values by providing their own javolution.Configuration class to be loaded in place of this one (first in classpath) or by modifying this class directly.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static int concurrency()
      Returns the maximum number of concurrent thread.
      static int factories()
      Returns the maximum number of object factories.
      static boolean isPoorSystemHash()
      Indicates if the system hash code is well distributed (default hashcodes for Object instances).
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • concurrency

        public static int concurrency()
        Returns the maximum number of concurrent thread.
        Returns:
        (Number of Processors) - 1
        See Also:
        ConcurrentThread
      • factories

        public static int factories()
        Returns the maximum number of object factories.
        Returns:
        1024
        See Also:
        ObjectFactory
      • isPoorSystemHash

        public static boolean isPoorSystemHash()
        Indicates if the system hash code is well distributed (default hashcodes for Object instances).
        Returns:
        true if the default system hashcode is not evenly distributed; false otherwise (small test performed at start-up).

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.