Class Environment

java.lang.Object
com.rabbitmq.client.impl.Environment

public class Environment extends Object
Infers information about the execution environment, e.g. security permissions. Package-protected API.
  • Constructor Details

    • Environment

      public Environment()
  • Method Details

    • isAllowedToModifyThreads

      @Deprecated public static boolean isAllowedToModifyThreads()
      Deprecated.
      This method is deprecated and subject to removal in the next major release. There is no replacement for this method, as it used to use the SecurityManager, which is itself deprecated and subject to removal.
      Returns:
      always returns true
    • newThread

      public static Thread newThread(ThreadFactory factory, Runnable runnable, String name)
    • newThread

      public static Thread newThread(ThreadFactory factory, Runnable runnable, String name, boolean isDaemon)