public class Environment extends Object
| Constructor and Description |
|---|
Environment() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isAllowedToModifyThreads()
Deprecated.
|
static Thread |
newThread(ThreadFactory factory,
Runnable runnable,
String name) |
static Thread |
newThread(ThreadFactory factory,
Runnable runnable,
String name,
boolean isDaemon) |
@Deprecated public static boolean isAllowedToModifyThreads()
There is no replacement for this method, as it used to use the SecurityManager,
which is itself deprecated and subject to removal.
public static Thread newThread(ThreadFactory factory, Runnable runnable, String name)
public static Thread newThread(ThreadFactory factory, Runnable runnable, String name, boolean isDaemon)
Copyright © 2025 Broadcom Inc. and its subsidiaries.. All rights reserved.