| Package | Description |
|---|---|
| java.security | |
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
AccessController.doPrivileged(PrivilegedExceptionAction<T> action)
Performs the specified
PrivilegedExceptionAction with
privileges enabled. |
static <T> T |
AccessController.doPrivilegedWithCombiner(PrivilegedExceptionAction<T> action)
Performs the specified
PrivilegedExceptionAction with
privileges enabled. |
| Modifier and Type | Method and Description |
|---|---|
static Callable<Object> |
Executors.callable(PrivilegedExceptionAction<?> action)
Returns a
Callable object that, when
called, runs the given privileged exception action and returns
its result. |
Copyright © 2025 API Design. All Rights Reserved.