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()
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 © 2022 VMware, Inc. or its affiliates.. All rights reserved.