Package com.rabbitmq.client.impl
Class Environment
- java.lang.Object
-
- com.rabbitmq.client.impl.Environment
-
public class Environment extends java.lang.ObjectInfers information about the execution environment, e.g. security permissions. Package-protected API.
-
-
Constructor Summary
Constructors Constructor Description Environment()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanisAllowedToModifyThreads()Deprecated.static java.lang.ThreadnewThread(java.util.concurrent.ThreadFactory factory, java.lang.Runnable runnable, java.lang.String name)static java.lang.ThreadnewThread(java.util.concurrent.ThreadFactory factory, java.lang.Runnable runnable, java.lang.String name, boolean isDaemon)
-
-
-
Method Detail
-
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 theSecurityManager, which is itself deprecated and subject to removal.- Returns:
- always returns true
-
newThread
public static java.lang.Thread newThread(java.util.concurrent.ThreadFactory factory, java.lang.Runnable runnable, java.lang.String name)
-
newThread
public static java.lang.Thread newThread(java.util.concurrent.ThreadFactory factory, java.lang.Runnable runnable, java.lang.String name, boolean isDaemon)
-
-