Package com.rabbitmq.client.impl
Class Environment
java.lang.Object
com.rabbitmq.client.impl.Environment
Infers information about the execution environment, e.g.
security permissions.
Package-protected API.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Deprecated.static Thread
newThread
(ThreadFactory factory, Runnable runnable, String name) static Thread
newThread
(ThreadFactory factory, Runnable runnable, String name, boolean isDaemon)
-
Constructor Details
-
Environment
public Environment()
-
-
Method Details
-
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
-
newThread
public static Thread newThread(ThreadFactory factory, Runnable runnable, String name, boolean isDaemon)
-